-
-
Notifications
You must be signed in to change notification settings - Fork 650
Expand file tree
/
Copy patheslint.config.js
More file actions
24 lines (23 loc) · 705 Bytes
/
eslint.config.js
File metadata and controls
24 lines (23 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { config } from '@fisch0920/config/eslint'
export default [
...config,
{
ignores: ['.snapshots/', '.next/', '.vercel/', 'build/', 'docs/']
},
{
files: ['**/*.ts', '**/*.tsx'],
rules: {
'react/prop-types': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/prefer-global-this': 'off',
'unicorn/filename-case': 'off',
'no-process-env': 'off',
'array-callback-return': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/media-has-caption': 'off',
'jsx-a11y/interactive-supports-focus': 'off',
'@typescript-eslint/naming-convention': 'off'
}
}
]