chore: add husky pre-commit hook and lint-staged configuration

- Created a pre-commit hook in .husky to run lint-staged.
- Added .lintstagedrc.mjs to format frontend files with Prettier and apply Spotless to backend Java files.
- Introduced .prettierignore to exclude specific directories from formatting.
This commit is contained in:
nessar committed 2026-08-17 14:18:16 +02:00
1 parent 5d2d85aa8c
commit 878da155bd
564 files changed
+61467 -47179

No files matched your search

+2 -5
View File
@@ -31,14 +31,11 @@
"compounds": [
{
"name": "Debug whole app",
"configurations": [
"Backend: Spring Boot",
"Frontend: Angular"
],
"configurations": ["Backend: Spring Boot", "Frontend: Angular"],
"stopAll": true,
"presentation": {
"order": 1
}
}
]
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
"java.configuration.updateBuildConfiguration": "automatic",
"java.autobuild.enabled": false,
"java.server.launchMode": "LightWeight"
}
}
+1 -1
View File
@@ -44,4 +44,4 @@
}
}
]
}
}