-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
33 lines (32 loc) · 800 Bytes
/
Copy patheslint.config.mjs
File metadata and controls
33 lines (32 loc) · 800 Bytes
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
import { antfu } from '@antfu/eslint-config'
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'
export default antfu({
stylistic: {
indent: 4,
quotes: 'single',
},
vue: {
overrides: {
'vue/block-order': ['error', {
order: [
'template',
'script',
'style',
],
}],
},
},
yaml: {
overrides: {
'yaml/indent': ['error', 2],
},
},
rules: {
'e18e/prefer-static-regex': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'vue/no-v-html': 'off',
'regexp/no-unused-capturing-group': 'off',
'node/prefer-global/process': 'off',
},
}).append(withNuxt)