-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.14 KB
/
.eslintrc
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
{
"root": true,
"env": {
"browser": true,
"node": true
},
"plugins": ["@typescript-eslint", "unused-imports", "simple-import-sort"],
"extends": ["prettier", "plugin:@typescript-eslint/recommended", "next"],
"rules": {
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off"
},
"overrides": [
{
"files": "",
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-ts-comment": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"import/no-anonymous-default-export": "off"
}
}
],
"settings": {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}