-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
43 lines (43 loc) · 1.43 KB
/
.eslintrc.cjs
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
41
42
43
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"standard-with-typescript",
"plugin:prettier/recommended",
"plugin:storybook/recommended",
],
overrides: [],
parserOptions: {
parser: "@typescript-eslint/parser",
project: "tsconfig.json",
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["react"],
ignorePatterns: ["stories", "*.js"],
rules: {
"react/react-in-jsx-scope": "off",
"no-console": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/prefer-readonly": "off",
"@typescript-eslint/array-type": "off",
"react/no-unescaped-entities": "off",
"react/no-unknown-property": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-explicit-any": "off",
},
};