mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Use .prettierignore for better formatting control
* `npm run format` becomes much simpler * Also format woodpecker YAML files * Exclude arch build files from formatting
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
arch/radicle-desktop
|
||||
arch/radicle-desktop.git
|
||||
crates
|
||||
*.md
|
||||
*.lock
|
||||
@@ -51,8 +51,8 @@ steps:
|
||||
# Ensure .SCRINFO is up-to-date
|
||||
- makepkg --printsrcinfo > .SRCINFO && git diff --exit-code .SRCINFO
|
||||
- |
|
||||
CI=true \
|
||||
BUILDDIR=/home/builder/build \
|
||||
PKGDEST=/home/builder/ \
|
||||
SRCDEST=/home/builder/ \
|
||||
makepkg --syncdeps --noconfirm --force
|
||||
CI=true \
|
||||
BUILDDIR=/home/builder/build \
|
||||
PKGDEST=/home/builder/ \
|
||||
SRCDEST=/home/builder/ \
|
||||
makepkg --syncdeps --noconfirm --force
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
"check-rs": "scripts/check-rs",
|
||||
"test:unit": "TZ='UTC' vitest run",
|
||||
"test:e2e": "TZ='UTC' playwright test",
|
||||
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' '!crates/**/*' --write",
|
||||
"format": "npx prettier . --write",
|
||||
"generate-types": "cargo test --manifest-path ./crates/radicle-types/Cargo.toml",
|
||||
"tauri": "npx tauri"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user