-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
90 lines (90 loc) · 2.72 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"root": true,
"env": {
"es6": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"requireConfigFile": false
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"airbnb",
"prettier"
],
"globals": {
"React": true,
"JSX": true,
"test": true,
"expect": true,
"google": "readonly",
},
"rules": {
"no-shadow": "off",
"import/no-unresolved": "off",
"arrow-body-style": "off",
"linebreak-style": "off",
"no-unused-vars": "off",
"no-debugger": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"import/no-cycle": "off",
"import/no-extraneous-dependencies": "off",
"import/order": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-is-valid": "off",
"max-len": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"react/forbid-prop-types": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
],
"import/extensions": "off",
"react/no-array-index-key": "off",
"react/jsx-filename-extension": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/function-component-definition": "off",
"react/jsx-no-useless-fragment": "off",
"react/button-has-type": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/no-unstable-nested-components": "off",
"no-nested-ternary": "off",
"consistent-return": "off",
"no-use-before-define": "off",
"camelcase": "off",
"react/no-unescaped-entities": "off",
"jsx-a11y/control-has-associated-label": "off",
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-parameter-properties": 0,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-var-requires": "off",
"no-console": "warn",
"prettier/prettier": "off",
"lines-between-class-members": [
"error",
"always",
{ "exceptAfterSingleLine": true }
],
"no-useless-constructor": "off",
"operator-linebreak": "off",
"indent": "off"
}
}