-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
54 lines (52 loc) · 1.15 KB
/
eslint.config.js
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
import { sxzz } from '@sxzz/eslint-config'
export default sxzz([
{
ignores: ['playground/vue2/src', 'playground/nuxt', 'playground/astro'],
},
{
files: ['**/*.vue'],
rules: {
'vue/valid-attribute-name': 'off',
'vue/no-export-in-script-setup': 'off',
'vue/no-dupe-keys': 'off',
},
},
{
files: ['**/*.md/*.{js,ts,vue}'],
rules: {
'no-var': 'off',
'vue/valid-v-bind': 'off',
'import/no-mutable-exports': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
},
},
{
files: ['playground/vue3/**'],
rules: {
'no-debugger': 'off',
'no-console': 'off',
'vue/valid-v-bind': 'off',
'vue/require-prop-types': 'off',
'vue/valid-define-props': 'off',
'vue/valid-attribute-name': 'off',
},
},
{
files: ['**/helper/*', 'playground/vue3/**'],
rules: {
'import/no-default-export': 'off',
},
},
{
files: ['packages/volar/**'],
rules: {
'import/no-default-export': 'off',
},
},
{
rules: {
'@typescript-eslint/no-dynamic-delete': 'off',
},
},
])