-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy patheslint.config.js
More file actions
29 lines (28 loc) · 774 Bytes
/
eslint.config.js
File metadata and controls
29 lines (28 loc) · 774 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
import antfu from '@antfu/eslint-config'
import harlanzw from 'eslint-plugin-harlanzw'
export default antfu({
ignores: ['.claude'],
rules: {
'node/prefer-global/process': 'off',
'node/prefer-global/buffer': 'off',
'no-use-before-define': 'off',
},
}, ...harlanzw({ link: true, nuxt: true, vue: true, content: true }), {
files: ['test/**/*.ts', 'test/**/*.mjs'],
rules: {
'e18e/prefer-static-regex': 'off',
},
}, {
rules: {
'harlanzw/link-no-underscores': 'off',
'harlanzw/link-trailing-slash': 'off',
'harlanzw/link-lowercase': 'off',
},
}, {
files: ['examples/**/package.json'],
rules: {
'pnpm/json-enforce-catalog': 'off',
'pnpm/json-valid-catalog': 'off',
'pnpm/json-prefer-workspace-settings': 'off',
},
})