-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.07 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["prettier", "@typescript-eslint"],
"extends": [
"next/core-web-vitals",
"prettier",
"plugin:@typescript-eslint/recommended"
],
"env": {
"jest": true,
"browser": true,
"node": true,
"es6": true
},
"globals": { "React": true },
"rules": {
// "quotes": "off",
// "@typescript-eslint/quotes": ["error", "backtick"],
"comma-dangle": ["error", "only-multiline"],
"react/display-name": 0,
"import/no-anonymous-default-export": 0,
"no-dupe-args": ["error"],
"no-duplicate-imports": ["error"],
"no-undef": ["error"],
"no-unused-vars": 0,
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
}
],
"@typescript-eslint/no-explicit-any": 0,
"no-use-before-define": ["error"],
"@typescript-eslint/no-require-imports": 0
}
}