chore: add pre-commit linting
All checks were successful
ci / ci (22, debian-trixie) (push) Successful in 34s
All checks were successful
ci / ci (22, debian-trixie) (push) Successful in 34s
This commit is contained in:
parent
1a0a34da7a
commit
b1823e41c7
3 changed files with 64 additions and 7 deletions
15
package.json
15
package.json
|
|
@ -8,7 +8,13 @@
|
|||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "nuxt typecheck"
|
||||
"typecheck": "nuxt typecheck",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"app/**/*.{js,ts,vue}": [
|
||||
"eslint --fix"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify-json/lucide": "^1.2.107",
|
||||
|
|
@ -23,8 +29,9 @@
|
|||
"@nuxt/eslint": "^1.15.2",
|
||||
"@nuxt/icon": "^2.2.2",
|
||||
"eslint": "^10.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^17.0.4",
|
||||
"typescript": "^6.0.3",
|
||||
"vue-tsc": "^3.2.8"
|
||||
},
|
||||
"packageManager": "pnpm@11.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue