chore: add pre-commit linting
All checks were successful
ci / ci (22, debian-trixie) (push) Successful in 34s

This commit is contained in:
kittentm 2026-05-15 07:00:33 +02:00
commit b1823e41c7
No known key found for this signature in database
GPG key ID: AC43DFDBC1F44A91
3 changed files with 64 additions and 7 deletions

View file

@ -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"
}
}
}