feat: set up ESLint and typecheck with @nuxt/eslint
- add @nuxt/eslint module and flat config (eslint.config.mjs) - add lint, lint:fix and typecheck scripts - add typescript and vue-tsc dev dependencies - approve unrs-resolver build script in pnpm-workspace.yaml
This commit is contained in:
1 parent
5caa3457aa
commit
4e2a03eab8
5 files changed
+2259
-127
No files matched your search
+10
-1
@@ -7,11 +7,20 @@
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
"postinstall": "nuxt prepare",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"typecheck": "nuxt typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "^4.6.2",
|
||||
"vue": "^3.5.43",
|
||||
"vue-router": "^5.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/eslint": "^1.9.0",
|
||||
"eslint": "^9.30.0",
|
||||
"typescript": "^5.9.0",
|
||||
"vue-tsc": "^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user