-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
63 lines (56 loc) · 1.48 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
{
"env": {
"node": true,
"es2021": true,
"browser": true
},
"root": true,
"rules": {
"no-bitwise": ["error", { "allow": ["~"] }],
"eol-last": "warn",
"@typescript-eslint/indent": "warn",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/semi": "off",
"@typescript-eslint/comma-dangle": "off",
"import-helpers/order-imports": "off",
"space-unary-ops": [2, {
"words": true,
"nonwords": false
}],
"react/prop-types": "off",
"import/no-anonymous-default-export": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/triple-slash-reference": ["error", {
"lib": "always",
"path": "always",
"types": "always"
}],
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/explicit-function-return-type": "off"
},
"plugins": [
"react",
"react-hooks",
"@typescript-eslint",
"eslint-plugin-import-helpers"
],
"extends": [
"next",
"plugin:import/typescript",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"standard-with-typescript",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module",
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
}
}
}