-
-
Notifications
You must be signed in to change notification settings - Fork 450
Expand file tree
/
Copy path.eslintrc
More file actions
44 lines (44 loc) · 1.16 KB
/
.eslintrc
File metadata and controls
44 lines (44 loc) · 1.16 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
39
40
41
42
43
44
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
},
"plugins": ["@typescript-eslint"],
"extends": [
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
"env": {
"browser": true,
"node": true,
},
"rules": {
"indent": "off",
"no-tabs": "off",
"object-curly-newline": "off",
"import/no-cycle": "off",
"max-len": ["error", { "code": 120 }],
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"arrow-parens": "off",
"no-shadow": "off",
"no-else-return": "off",
"class-methods-use-this": "warn",
"linebreak-style": ["error", "windows"],
"import/no-extraneous-dependencies": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"react/jsx-indent": [4, "tab"],
"react/no-unused-class-component-methods": "warn",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
}