added prettier
This commit is contained in:
25
.prettierrc.json
Normal file
25
.prettierrc.json
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -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"
|
||||
|
10
yarn.lock
10
yarn.lock
@@ -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"
|
||||
|
Reference in New Issue
Block a user