add prettier

This commit is contained in:
2025-02-23 20:42:52 -05:00
parent 9ca074ab4e
commit cfaacc2e0a
4 changed files with 45 additions and 1 deletions

22
.prettierrc Normal file
View File

@@ -0,0 +1,22 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"endOfLine": "auto",
"bracketSpacing": true,
"overrides": [
{
"files": "*.scss",
"options": {
"singleQuote": false
}
}, {
"files": "*.html",
"options": {
"printWidth": 120
}
}
]
}