.eslintrc.js 338 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. parserOptions: {
  6. ...base.parserOptions,
  7. project: [
  8. './tsconfig.json'
  9. ]
  10. },
  11. rules: {
  12. ...base.rules,
  13. '@typescript-eslint/no-explicit-any': 'off'
  14. }
  15. };