- 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.
21 lines
256 B
Plaintext
21 lines
256 B
Plaintext
{
|
|
"useTabs": true,
|
|
"tabWidth": 4,
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"overrides": [
|
|
{
|
|
"files": "**/*.{yml,yaml}",
|
|
"options": {
|
|
"useTabs": false
|
|
}
|
|
},
|
|
{
|
|
"files": "*.html",
|
|
"options": {
|
|
"parser": "angular"
|
|
}
|
|
}
|
|
]
|
|
}
|