-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 931 Bytes
/
.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
{
"plugins": [
"simple-import-sort",
"@typescript-eslint",
"split-classnames"
],
"extends": [
"next/core-web-vitals",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-empty-interface": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"prettier/prettier": [
"error",
{
"arrowParens": "always",
"singleQuote": true,
"tabWidth": 2,
"semi": false,
"printWidth": 80,
"useTabs": false,
"trailingComma": "all"
}
],
"split-classnames/split-classnames": [
"error",
{
"maxClassNameCharacters": 70,
"functionName": "cx"
}
]
}
}