-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
64 lines (64 loc) · 1.58 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
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"react-app",
"kentcdodds",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"browser": true,
"es6": true,
"jest": true
},
"ignorePatterns": ["dist/", "build/"],
"plugins": ["@typescript-eslint"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"moduleDirectory": ["node_modules", "src/"]
}
}
},
"rules": {
"react/jsx-boolean-value": 0,
"react/no-adjacent-inline-elements": "off",
"no-multiple-empty-lines": [
"error",
{
"max": 3
}
],
"max-lines-per-function": ["error", 500],
"complexity": ["error", 20],
"valid-jsdoc": ["warn", {"requireReturn": false}],
"no-bitwise": "off",
"consistent-return": "off",
"no-negated-condition": "off",
"arrow-parens": "error",
"generator-star-spacing": "off",
"no-console": "warn",
"no-eval": "error",
"no-debugger": "warn",
"no-unused-vars": "error",
"no-sequences": "off",
"no-continue": "off",
"eqeqeq": "off",
"import/no-useless-path-segments": "off",
"max-lines": "off",
"no-eq-null": "off",
"react/jsx-indent": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-useless-constructor": "off"
}
}