mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
Added prettier formatting
This commit is contained in:
3
justfile
3
justfile
@@ -88,3 +88,6 @@ deploy:
|
||||
#!/usr/bin/env bash
|
||||
docker compose up -d --wait
|
||||
docker exec -it am-d-modeleu-worker-1 setup.sh
|
||||
|
||||
fmt:
|
||||
bun run prettier --write "**/*.{js,jsx,ts,tsx,html,css,scss,sass,svelte,yaml,json,markdown}"
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"globals": "^15.14.0",
|
||||
"publint": "^0.2.12",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier-plugin-svelte": "^3.3.3",
|
||||
"publint": "^0.2.12",
|
||||
"sass": "^1.83.1",
|
||||
"svelte": "^5.17.3",
|
||||
"svelte-preprocess": "^5.1.4",
|
||||
|
||||
@@ -3,6 +3,15 @@ const config = {
|
||||
tabWidth: 4,
|
||||
trailingComma: "all",
|
||||
printWidth: 100,
|
||||
plugins: ["prettier-plugin-svelte"],
|
||||
overrides: [
|
||||
{
|
||||
files: "*.svelte",
|
||||
options: {
|
||||
parser: "svelte",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user