-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.eslintrc.json
63 lines (63 loc) · 1.58 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "jest"],
"env": {
"jest/globals": true
},
"extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:mdx/recommended"],
"settings": {
"mdx/code-blocks": false
},
"globals": {
"React": true,
"JSX": true,
"Proxy": true
},
"rules": {
"prettier/prettier": [
"error",
{
"printWidth": 100,
"arrowParens": "avoid",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"semi": false
}
],
"import/order": [
"error",
{
"groups": ["external", "builtin", "internal", "parent", "sibling", "index"],
"pathGroups": [
{
"pattern": "@/**",
"group": "internal",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["@/**"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"no-unused-vars": 0,
"no-extra-semi": 0,
"no-console": 2,
"@next/next/no-img-element": 0,
"no-empty": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-non-null-assertion": 2,
"@typescript-eslint/no-var-requires": 0
}
}