chore: update prettier (#2405)

update to new prettier version with some new formatting
This commit is contained in:
dni ⚡ 2024-04-12 09:00:31 +02:00 committed by GitHub
parent adb8f9bdec
commit 8aef6cd416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 18 additions and 13 deletions

View File

@ -23,7 +23,7 @@ repos:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: '50c5478ed9e10bf360335449280cf2a67f4edb7a'
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
types_or: [css, javascript, html, json]

View File

@ -318,8 +318,8 @@ Vue.component('lnbits-payment-details', {
this.payment.webhook_status < 0
? 'red-10'
: !this.payment.webhook_status
? 'cyan-7'
: 'green-10'
? 'cyan-7'
: 'green-10'
},
webhookStatusText() {
return this.payment.webhook_status

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
@ -14,7 +14,12 @@
size: A4 portrait;
}
body {
font-family: Roboto, -apple-system, Helvetica Neue, Helvetica, Arial,
font-family:
Roboto,
-apple-system,
Helvetica Neue,
Helvetica,
Arial,
sans-serif;
}
</style>

12
package-lock.json generated
View File

@ -22,7 +22,7 @@
"devDependencies": {
"concat": "^1.0.3",
"minify": "^9.2.0",
"prettier": "2.8.3",
"prettier": "^3.2.5",
"pyright": "1.1.289",
"sass": "^1.60.0"
}
@ -863,15 +863,15 @@
}
},
"node_modules/prettier": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz",
"integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==",
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=10.13.0"
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"

View File

@ -12,7 +12,7 @@
"devDependencies": {
"concat": "^1.0.3",
"minify": "^9.2.0",
"prettier": "2.8.3",
"prettier": "^3.2.5",
"pyright": "1.1.289",
"sass": "^1.60.0"
},