forked from luffyZh/simple-drawio-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 1.13 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
{
"extends": ["next", "next/core-web-vitals"],
"rules": {
"no-console": 0,
"indent": [
0,
2,
{
"SwitchCase": 1,
"ObjectExpression": 1
}
],
"semi": [1, "always"],
"linebreak-style": 0,
"consistent-return": 0,
"no-use-before-define": 0,
"no-unused-vars": 0,
"no-multi-assign": 0,
"no-lonely-if": 1,
"no-nested-ternary": 0,
"wrap-iife": [1, "inside"],
"jsx-quotes": [0, "prefer-single"],
"generator-star-spacing": 0,
"react/forbid-prop-types": 0,
"react/sort-comp": 1,
"react/no-string-refs": 0,
"react/display-name": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/require-default-props": [0, { "forbidDefaultForRequired": true }],
"jsx-a11y/no-static-element-interactions": 0,
"keyword-spacing": [1, { "before": true }],
"eqeqeq": [1, "always"],
"space-infix-ops": [1, {"int32Hint": false}],
"spaced-comment": 1,
"comma-spacing": [1, { "before": false, "after": true }],
"block-spacing": [1, "always"],
"no-else-return": 1
},
"ignorePatterns": ["**/drawio-project"]
}