-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy path.eslintrc.js
More file actions
38 lines (38 loc) · 1.1 KB
/
.eslintrc.js
File metadata and controls
38 lines (38 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'airbnb',
'airbnb/hooks',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
],
plugins: ['@typescript-eslint', 'react'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
rules: {
'no-unused-vars': 'off',
'max-len': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-console': 'off',
'react/jsx-filename-extension': [1, { extensions: ['.tsx', '.jsx'] }],
'import/extensions': 'off',
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'react/react-in-jsx-scope': 'off',
'react/jsx-props-no-spreading': 'off',
'import/no-unresolved': 'off',
'import/prefer-default-export': 'off',
quotes: 'off',
'operator-linebreak': 'off',
'react/display-name': 'off',
'react-hooks/exhaustive-deps': 'off',
'consistent-return': 'off',
'object-curly-newline': 'off',
'react/require-default-props': 'off',
},
};