-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
40 lines (40 loc) · 1.13 KB
/
.eslintrc
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
39
40
{
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"prettier",
"plugin:import/recommended",
"plugin:storybook/recommended"
],
"env": {
"jest": true,
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"project": ["./tsconfig.json"]
},
"rules": {
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"prefer-template": "error",
"no-case-declarations": "error",
"no-param-reassign": "error",
"import/no-extraneous-dependencies": "off",
"import/no-mutable-exports": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"react/function-component-definition": "off",
"react/jsx-no-useless-fragment": "error",
"react/jsx-props-no-spreading": "off",
"react/jsx-uses-vars": "error",
"react/require-default-props": "off"
}
}