1234567891011121314151617181920212223242526272829303132333435 |
- const base = require('@polkadot/dev/config/eslint');
- module.exports = {
- ...base,
- parserOptions: {
- ...base.parserOptions,
- project: [
- './tsconfig.json'
- ]
- },
- rules: {
- ...base.rules,
- '@typescript-eslint/no-explicit-any': 'off',
- 'new-cap': 'off',
- '@typescript-eslint/interface-name-prefix': 'off',
- '@typescript-eslint/ban-ts-comment': 'error',
-
-
- 'no-console': 'off',
-
- 'camelcase': 'off',
- 'header/header': 'off',
- 'sort-keys': 'off',
- 'react/jsx-sort-props': 'off',
- 'react/jsx-max-props-per-line': 'off',
- 'sort-destructure-keys/sort-destructure-keys': 'off',
- '@typescript-eslint/unbound-method': 'warn',
- 'react-hooks/exhaustive-deps': 'warn',
- 'no-void': 'off'
- },
-
- root: true
- };
|