style(eslint): 🎨 Add eslint (#298)
parent
a2e535f2d2
commit
8cea374cb1
|
@ -0,0 +1,12 @@
|
||||||
|
import antfu from '@antfu/eslint-config'
|
||||||
|
|
||||||
|
export default antfu({
|
||||||
|
formatters: true,
|
||||||
|
unocss: true,
|
||||||
|
vue: true,
|
||||||
|
ignores: [
|
||||||
|
'**/*/md',
|
||||||
|
'**/*.yaml',
|
||||||
|
'**/*.yml',
|
||||||
|
],
|
||||||
|
})
|
|
@ -34,7 +34,11 @@
|
||||||
"vitepress": "1.0.0-rc.42",
|
"vitepress": "1.0.0-rc.42",
|
||||||
"vitepress-sidebar": "^1.19.0",
|
"vitepress-sidebar": "^1.19.0",
|
||||||
"vue": "^3.4.19",
|
"vue": "^3.4.19",
|
||||||
"wrangler": "^3.32.0"
|
"wrangler": "^3.32.0",
|
||||||
|
"@antfu/eslint-config": "^2.12.2",
|
||||||
|
"eslint": "^9.0.0",
|
||||||
|
"eslint-plugin-format": "^0.1.0",
|
||||||
|
"@unocss/eslint-plugin": "^0.59.0"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"overrides": {
|
"overrides": {
|
||||||
|
|
2105
pnpm-lock.yaml
2105
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue