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:
1 parent
5d2d85aa8c
commit
878da155bd
564 files changed
+61467
-47179
No files matched your search
@@ -1,16 +1,16 @@
|
||||
.inventory-line {
|
||||
margin: 1rem 0;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.inventory-line label {
|
||||
display: block;
|
||||
margin: 0.5rem 0;
|
||||
display: block;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
.inventory-line span {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
.inventory-line input,
|
||||
.inventory-line select,
|
||||
.inventory-line textarea {
|
||||
max-width: 32rem;
|
||||
width: 100%;
|
||||
max-width: 32rem;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user