Added prettier with automatic useage on pre-commit to avoid style breakage

This commit is contained in:
WBHarry 2025-05-23 17:40:15 +02:00
parent 30a3b5fa55
commit f8a48fad32
6 changed files with 894 additions and 473 deletions

13
.prettierrc Normal file
View file

@ -0,0 +1,13 @@
{
"trailingComma": "none",
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "avoid",
"printWidth": 30,
"endOfLine": "lf",
"bracketSameLine": true
}