-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
87 lines (87 loc) · 2.37 KB
/
.eslintrc.json
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
{
"extends": ["plugin:cypress/recommended", "eslint:all", "next", "prettier"],
"overrides": [
{
"files": ["**/*.test.ts", "**/*.test.tsx"],
"env": {}
}
],
"rules": {
"cypress/unsafe-to-chain-command": "off",
"array-bracket-newline": "off",
"array-element-newline": "off",
"arrow-body-style": "off",
"capitalized-comments": "off",
"curly": "off",
"comma-dangle": "off",
"consistent-return": "off",
"dot-location": "off",
"function-call-argument-newline": "off",
"function-paren-newline": "off",
"func-style": "off",
"id-length": "off",
"implicit-arrow-linebreak": "off",
"indent": "off",
"init-declarations": "off",
"line-comment-position": "off",
"lines-around-comment": "off",
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"max-len": [
"error",
{
"code": 300,
"ignoreComments": false,
"ignoreStrings": true,
"ignoreTemplateLiterals": false,
"ignoreRegExpLiterals": false
}
],
"max-lines": "off",
"max-lines-per-function": ["error", 900],
"max-params": "off",
"max-statements": "off",
"multiline-comment-style": "off",
"multiline-ternary": "off",
"new-cap": "off",
"newline-per-chained-call": "off",
"no-case-declarations": "off",
"no-confusing-arrow": "off",
"no-console": "off",
"no-extra-parens": "off",
"no-inline-comments": "off",
"no-loss-of-precision": "off",
"no-magic-numbers": "off",
"no-mixed-operators": "off",
"no-nested-ternary": "off",
"no-plusplus": "off",
"no-shadow": "off",
"no-ternary": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"nonblock-statement-body-position": "off",
"no-warning-comments": "off",
"object-curly-spacing": ["error", "always"],
"object-property-newline": [
"error",
{ "allowAllPropertiesOnSameLine": true }
],
"one-var": "off",
"padded-blocks": ["error", "never"],
"quote-props": ["error", "as-needed"],
"quotes": "off",
"require-await": "off",
"sort-keys": "off",
"sort-imports": "off",
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"spaced-comment": "off"
}
}