-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.eslintrc
75 lines (75 loc) · 2.26 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"extends": ["@antfu"],
"rules": {
"no-restricted-imports": [
"error",
{
"paths": ["unocss"]
}
],
"yml/no-empty-document": "off",
"react/no-unknown-property": "off"
},
"overrides": [
{
"files": [
"**/*.md/*.*",
"**/*.js",
"code-samples/**/*.json",
"code-samples/**/*.js",
"code-samples/**/*.ts",
"code-samples/**/*.jsx",
"code-samples/**/*.vue"
],
"rules": {
"no-restricted-imports": "off",
"no-restricted-syntax": "off",
"no-labels": "off",
"jsonc/indent": "off",
"vue/html-indent": "off",
"vue/padding-line-between-blocks": "off",
"vue/component-tags-order": "off",
"vue/attribute-hyphenation": "off",
"operator-linebreak": "off",
"prefer-template": "off",
"import/newline-after-import": "off",
"yml/plain-scalar": "off",
"arrow-parens": "off",
"no-void": "off",
"prefer-const": "off",
"curly": "off",
"no-cond-assign": "off",
"no-multiple-empty-lines": "off",
"eol-last": "off",
"quote-props": "off",
"unicorn/prefer-includes": "off",
"n/no-path-concat": "off",
"n/handle-callback-err": "off",
"unused-imports/no-unused-vars": "off",
"no-undef": "off",
"no-console": "off",
"prefer-arrow-callback": "off",
"one-var": "off",
"no-var": "off",
"no-useless-return": "off",
"sort-imports": "off",
"prefer-promise-reject-errors": "off",
"promise/param-names": "off",
"import/order": "off",
"unicorn/prefer-node-protocol": "off",
"no-tabs": "off",
"no-mixed-operators": "off",
"antfu/top-level-function": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/semi": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/brace-style": "off",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/space-before-function-paren": "off"
}
}
]
}