.eslintrc.js 489 B

1234567891011121314151617181920
  1. const base = require('@polkadot/dev-react/config/eslint');
  2. // add override for any (a metric ton of them, initial conversion)
  3. module.exports = {
  4. ...base,
  5. parserOptions: {
  6. ...base.parserOptions,
  7. project: [
  8. './tsconfig.json'
  9. ]
  10. },
  11. rules: {
  12. ...base.rules,
  13. '@typescript-eslint/no-explicit-any': 'off',
  14. '@typescript-eslint/camelcase': 'off',
  15. 'react/prop-types': 'off',
  16. 'new-cap': 'off',
  17. '@typescript-eslint/interface-name-prefix': 'off'
  18. }
  19. };