forked from vuejs/devtools-v6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
43 lines (42 loc) · 879 Bytes
/
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
const antfu = require('@antfu/eslint-config').default
module.exports = antfu({
ignores: [
'**/dist',
],
}, {
rules: {
'curly': ['error', 'all'],
'node/prefer-global/process': 'off',
},
}, {
files: [
'packages/shell-dev*/**',
],
rules: {
'no-console': 'off',
'unused-imports/no-unused-vars': 'off',
'vue/require-explicit-emits': 'off',
'vue/custom-event-name-casing': 'off',
'vue/no-deprecated-functional-template': 'off',
'vue/no-deprecated-filter': 'off',
'vue/no-unused-refs': 'off',
'vue/require-component-is': 'off',
'vue/return-in-computed-property': 'off',
},
}, {
files: [
'packages/shell-host/**',
],
rules: {
'no-console': 'off',
},
}, {
files: [
'package.json',
'packages/*/package.json',
'packages/*/manifest.json',
],
rules: {
'style/eol-last': 'off',
},
})