1234567891011121314151617181920 |
- const base = require('@polkadot/dev-react/config/eslint');
- // add override for any (a metric ton of them, initial conversion)
- module.exports = {
- ...base,
- parserOptions: {
- ...base.parserOptions,
- project: [
- './tsconfig.json'
- ]
- },
- rules: {
- ...base.rules,
- '@typescript-eslint/no-explicit-any': 'off',
- '@typescript-eslint/camelcase': 'off',
- 'react/prop-types': 'off',
- 'new-cap': 'off',
- '@typescript-eslint/interface-name-prefix': 'off'
- }
- };
|