.eslintrc.js 455 B

12345678910111213141516
  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. rules: {
  6. ...base.rules,
  7. '@typescript-eslint/no-explicit-any': 'off',
  8. '@typescript-eslint/camelcase': 'off',
  9. 'react/prop-types': 'off',
  10. 'new-cap': 'off',
  11. '@typescript-eslint/interface-name-prefix': 'off'
  12. },
  13. // isolate pioneer from monorepo eslint rules
  14. root: true
  15. };