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
}
}
]
}

View File

@@ -10,6 +10,7 @@
"dependencies": {
"@mdi/font": "7.4.47",
"core-js": "^3.37.1",
"prettier": "^3.3.3",
"roboto-fontface": "*",
"vue": "^3.4.31",
"vuetify": "^3.6.11"

View File

@@ -3553,6 +3553,15 @@ __metadata:
languageName: node
linkType: hard
"prettier@npm:^3.3.3":
version: 3.3.3
resolution: "prettier@npm:3.3.3"
bin:
prettier: bin/prettier.cjs
checksum: 10c0/b85828b08e7505716324e4245549b9205c0cacb25342a030ba8885aba2039a115dbcf75a0b7ca3b37bc9d101ee61fab8113fc69ca3359f2a226f1ecc07ad2e26
languageName: node
linkType: hard
"proc-log@npm:^4.1.0, proc-log@npm:^4.2.0":
version: 4.2.0
resolution: "proc-log@npm:4.2.0"
@@ -4580,6 +4589,7 @@ __metadata:
eslint-plugin-promise: "npm:^6.4.0"
eslint-plugin-vue: "npm:^9.27.0"
pinia: "npm:^2.1.7"
prettier: "npm:^3.3.3"
roboto-fontface: "npm:*"
sass: "npm:1.77.6"
typescript: "npm:^5.4.2"