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
@@ -0,0 +1,8 @@
|
||||
import { withNuxt } from './.nuxt/eslint.config.mjs'
|
||||
|
||||
export default withNuxt({
|
||||
// Your custom ESLint rules go here, e.g.:
|
||||
// rules: {
|
||||
// 'no-console': 'warn',
|
||||
// },
|
||||
})
|
||||
Reference in new issue
Block a user