-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 1.3 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
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"plugins": [
"import",
"autofix"
],
"ignorePatterns": ["./components/Page/components/Socket.tsx"],
"rules": {
"import/order": "error",
"indent": ["error", 2],
"react-hooks/exhaustive-deps": "off",
"quotes": ["error", "double"],
"jsx-quotes": ["error", "prefer-double"],
"react/jsx-wrap-multilines": ["error", {
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "parens-new-line",
"condition": "parens-new-line",
"logical": "parens-new-line",
"prop": "parens-new-line"
}],
"array-bracket-spacing": ["error", "never"],
"object-curly-spacing": ["error", "never"],
"react/react-in-jsx-scope": "off",
"no-undef": "off",
"no-unused-vars": "off",
"react/prop-types": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/space-infix-ops": "error",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}