forked from susemaa/next_retro
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
28 lines (28 loc) · 1020 Bytes
/
.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
{
"extends": "next/core-web-vitals",
"plugins": ["react-hooks"],
"rules": {
"indent": ["error", 2],
"quotes": ["error", "double"],
"semi": ["warn", "always"],
"semi-style": ["error", "last"],
"semi-spacing": ["error", { "before": false, "after": true }],
"no-extra-semi": "error",
"no-unexpected-multiline": "error",
"no-unreachable": "warn",
"no-multi-spaces": "error",
"no-trailing-spaces": "error",
"space-before-function-paren": ["error", { "anonymous": "never", "named": "never", "asyncArrow": "always" }],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": ["error", { "words": true, "nonwords": false }],
"spaced-comment": ["error", "always", { "exceptions": ["-", "+"] }],
"eol-last": ["warn", "always"],
"react-hooks/rules-of-hooks": ["error", {
"additionalHooks": "(useSocketValue)"
}],
"react-hooks/exhaustive-deps": ["error", {
"additionalHooks": "(useSocketValue)"
}]
}
}