added prettier

This commit is contained in:
2024-11-08 00:54:38 +01:00
parent 85be6d646e
commit b7d33566ec
3 changed files with 36 additions and 0 deletions

25
.prettierrc.json Normal file
View File

@@ -0,0 +1,25 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100,
"bracketSameLine": true,
"overrides": [
{
"files": "*.test.js",
"options": {
"semi": true
}
},
{
"files": [
",*.html",
"legacy/**/*.js"
],
"options": {
"tabWidth": 4
}
}
]
}