-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 1.07 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:storybook/recommended",
"prettier"
],
"rules": {
"react/jsx-props-no-spreading": "off",
"import/no-cycle": "off",
"require-await": "error",
"react/destructuring-assignment": "off",
"import/prefer-default-export": "off",
"max-len": ["error", { "code": 120 }],
"react/button-has-type": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": "warn"
},
"ignorePatterns": ["jest.config.js", ".storybook/*", "src/**/*.stories.tsx"],
"settings": {
"react": {
"version": "detect"
}
}
}