-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.31 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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"standard-with-typescript",
"plugin:sort/recommended",
"plugin:@next/next/recommended"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"project": ["tsconfig.json"]
},
"settings": {
"react": {
"version": "detect"
}
},
"plugins": ["sort", "tss-unused-classes"],
"rules": {
"indent": "off",
"import/no-default-export": "error",
"sort/imports": "off",
"semi": "off",
"@typescript-eslint/semi": "off",
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/indent": "off",
"multiline-ternary": "off",
"tss-unused-classes/unused-classes": "warn",
"max-lines": ["error", 300],
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/space-before-function-paren": "off",
"@next/next/no-img-element": "off"
},
"ignorePatterns": ["next.config.js", "next-env.d.ts", "public/*"]
}