-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.eslintrc
58 lines (58 loc) · 1.22 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"root": true,
"extends": [
"@antfu",
"plugin:prettier/recommended",
"plugin:cypress/recommended"
],
"plugins": [
"prettier"
],
"rules": {
"curly": [
"error",
"all"
],
"vue/no-setup-props-destructure": 0,
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"unused-imports/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"eqeqeq": 0,
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"printWidth": 130
}
],
"antfu/if-newline": 0,
"antfu/generic-spacing": 0,
// typescript
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-types": "off",
// stylistic
"@stylistic/ts/member-delimiter-style": "off",
"@stylistic/ts/brace-style": "off",
"@stylistic/js/operator-linebreak": "off",
"@stylistic/ts/indent": "off"
}
}