chore: add lint-staged with husky pre-commit hook for automated linting

This commit is contained in:
2026-04-02 12:49:47 -06:00
parent b4a28fb35e
commit 17be2f09dd
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
bunx lint-staged --config lint-staged.config.ts
BIN
View File
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
import type { Configuration } from 'lint-staged'
const config: Configuration = {
'*.{js,jsx,ts,tsx}': 'eslint --fix'
}
export default config
+1
View File
@@ -27,6 +27,7 @@
"formik": "^2.4.5", "formik": "^2.4.5",
"framer-motion": "^12.38.0", "framer-motion": "^12.38.0",
"isomorphic-fetch": "^3.0.0", "isomorphic-fetch": "^3.0.0",
"lint-staged": "^16.4.0",
"next": "16.2.2", "next": "16.2.2",
"node-appwrite": "^11.1.0", "node-appwrite": "^11.1.0",
"react": "19.2.4", "react": "19.2.4",