-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy patheslint.config.mjs
42 lines (41 loc) · 1.02 KB
/
eslint.config.mjs
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
import antfu from '@antfu/eslint-config'
export default antfu(
{
yaml: false,
markdown: false,
vue: true,
stylistic: { indent: 4 },
overrides: {
jsonc: {
'indent': ['error', 2],
'jsonc/indent': ['error', 2],
},
typescript: {
'ts/ban-ts-comment': 'off',
},
vue: {
'vue/no-v-text-v-html-on-component': 'off',
},
test: {
'test/prefer-lowercase-title': 'off',
},
},
ignores: [
'!./docs/.vitepress',
'**/*/node_modules**/*',
'**/*/lib**/*',
'**/*/dist**/*',
'**/*/examples**/*',
'**/*/cache**/*',
'**/*/components.d.ts**/*',
],
},
{
rules: {
'no-new': 'off',
'no-console': 'off',
'import/export': 'off',
'jsdoc/check-param-names': 'off',
},
},
)