-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 1.02 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
{
"extends": ["@antfu"],
"overrides": [
{
"files": ["*"],
"rules": {
"curly": [2, "all"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"no-useless-return": "off",
"prefer-const": "off",
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-vars": "off", // If open this, it will create some unexcepted errors
"no-unused-vars": "error", // best choice
"@typescript-eslint/no-use-before-define": "off",
"react/no-children-prop": "off",
"react/display-name": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/brace-style": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-indexed-object-style": "off",
"n/handle-callback-err": "off",
"no-extra-boolean-cast": "off",
"vue/attribute-hyphenation": "off",
"no-console": "off"
}
}
]
}