.eslintrc.js 492 B

123456789101112131415161718192021
  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. camelcase: ['off'],
  11. 'react/prop-types': 'off',
  12. '@typescript-eslint/explicit-module-boundary-types': 'off',
  13. '@typescript-eslint/no-empty-function': 'warn',
  14. '@typescript-eslint/ban-ts-comment': [
  15. 'error',
  16. {
  17. 'ts-ignore': 'allow-with-description',
  18. },
  19. ],
  20. },
  21. }