-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
31 lines (31 loc) · 1007 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
{
"extends": "@antfu",
"rules": {
"no-tabs": ["off"],
"quotes": ["off"],
"indent": ["off"],
"semi": ["off"],
"curly": ["off"],
"brace-style": ["off"],
"no-console": ["off"],
"no-new-func": ["off"],
"arrow-parens": ["error", "always"],
"@typescript-eslint/semi": ["warn", "always"],
"@typescript-eslint/indent": ["off"],
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/comma-dangle": ["warn", "never"],
"@typescript-eslint/brace-style": ["error", "1tbs"],
"jsonc/indent": ["error", 4],
"vue/html-indent": ["error", 4, {
"baseIndent": 1
}],
"vue/script-indent": ["error", 4, {
"baseIndent": 1
}],
"vue/component-tags-order": ["error", {
"order": ["template", "script", "style"]
}],
"vue/valid-attribute-name": ["off"],
"antfu/top-level-function": ["off"]
}
}