chore: add prettier conifgs

This commit is contained in:
HorizonCode 2025-07-04 22:15:30 +02:00
parent fc20137d55
commit d058b24ba2
4 changed files with 17 additions and 6 deletions

9
.prettierignore Normal file
View File

@ -0,0 +1,9 @@
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
bun.lock
bun.lockb
# Miscellaneous
/static/

View File

@ -27,4 +27,4 @@
} }
} }
] ]
} }

View File

@ -36,8 +36,8 @@
"bits-ui": "^1.4.7", "bits-ui": "^1.4.7",
"clsx": "2.1.1", "clsx": "2.1.1",
"mode-watcher": "^1.0.6", "mode-watcher": "^1.0.6",
"prettier": "^3.6.1", "prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.4.0", "prettier-plugin-svelte": "^3.3.3",
"sass-embedded": "1.89.2", "sass-embedded": "1.89.2",
"svelte": "5.34.8", "svelte": "5.34.8",
"svelte-check": "4.2.2", "svelte-check": "4.2.2",

View File

@ -12,7 +12,9 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"tauri": "tauri", "tauri": "tauri",
"update-logo": "bun run tauri icon ./static/logo.png" "update-logo": "bun run tauri icon ./static/logo.png",
"format": "prettier --write .",
"lint": "prettier --check ."
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -48,8 +50,8 @@
"bits-ui": "^1.4.7", "bits-ui": "^1.4.7",
"clsx": "2.1.1", "clsx": "2.1.1",
"mode-watcher": "^1.0.6", "mode-watcher": "^1.0.6",
"prettier": "^3.6.1", "prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.4.0", "prettier-plugin-svelte": "^3.3.3",
"sass-embedded": "1.89.2", "sass-embedded": "1.89.2",
"svelte": "5.34.8", "svelte": "5.34.8",
"svelte-check": "4.2.2", "svelte-check": "4.2.2",