-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
31 lines (30 loc) · 877 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
29
30
31
{
"plugins": [
"import" //eslint-plugin-import
],
"extends": [
"next/core-web-vitals", //nextjs
"plugin:import/recommended" //eslint-plugin-import
],
"rules": {
//https://github.com/import-js/eslint-plugin-import#rules
"import/default": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/namespace": 0,
"import/no-unresolved": [0, { "commonjs": true, "amd": true }],
//https://eslint.org/docs/rules/space-before-function-paren
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
},
"globals": {
"AbortController": "readonly",
"Uint8Array": "readonly"
}
}