-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.js
35 lines (35 loc) · 1.06 KB
/
.eslintrc.js
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
module.exports = {
root: true,
extends: [
'@fcc/config-eslint',
'@fcc/config-eslint/rules/react',
'@fcc/config-eslint/rules/react-hooks',
'@fcc/config-eslint/rules/jest',
'@fcc/config-eslint/rules/prettier',
'@fcc/config-eslint/rules/typescript',
].map(require.resolve),
overrides: [
{
parserOptions: {
project: './tsconfig.json',
},
files: ['**/*.ts', '**/*.tsx'],
rules: {
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/naming-convention': 0,
'no-undef': 'off',
'@typescript-eslint/ban-types': 0,
'prefer-arrow-callback': 0,
'no-redeclare': 0,
'react/no-deprecated': 0,
'no-underscore-dangle': 0,
},
},
{
files: ['**/Table/**/*.tsx', '**/Stepper/**/*.tsx'],
rules: {
'react/no-unused-prop-types': 0,
},
},
],
};