.eslintrc.js 468 B

1234567891011121314151617181920
  1. module.exports = {
  2. env: {
  3. browser: true,
  4. node: true,
  5. es6: true,
  6. jest: true,
  7. },
  8. extends: ['plugin:react-hooks/recommended', '@joystream/eslint-config'],
  9. rules: {
  10. 'react/prop-types': 'off',
  11. '@typescript-eslint/explicit-module-boundary-types': 'off',
  12. '@typescript-eslint/no-empty-function': 'warn',
  13. '@typescript-eslint/ban-ts-comment': [
  14. 'error',
  15. {
  16. 'ts-ignore': 'allow-with-description',
  17. },
  18. ],
  19. },
  20. }