chore: add lint-staged with husky pre-commit hook for automated linting
This commit is contained in:
Executable
+1
@@ -0,0 +1 @@
|
||||
bunx lint-staged --config lint-staged.config.ts
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Configuration } from 'lint-staged'
|
||||
|
||||
const config: Configuration = {
|
||||
'*.{js,jsx,ts,tsx}': 'eslint --fix'
|
||||
}
|
||||
|
||||
export default config
|
||||
@@ -27,6 +27,7 @@
|
||||
"formik": "^2.4.5",
|
||||
"framer-motion": "^12.38.0",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
"lint-staged": "^16.4.0",
|
||||
"next": "16.2.2",
|
||||
"node-appwrite": "^11.1.0",
|
||||
"react": "19.2.4",
|
||||
|
||||
Reference in New Issue
Block a user