mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 15:29:11 +00:00
feat: add lint-staged and prettier
This commit is contained in:
parent
2f0d6bdbaf
commit
093e67c2bb
4 changed files with 14 additions and 12 deletions
|
@ -8,8 +8,8 @@
|
|||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
||||
"format": "prettier --plugin-search-dir . --write .",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"format": "prettier --write .",
|
||||
"prepare": "npx husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -25,7 +25,7 @@
|
|||
"lint-staged": "^13.2.3",
|
||||
"postcss": "^8.4.24",
|
||||
"postcss-load-config": "^4.0.1",
|
||||
"prettier": "^2.8.0",
|
||||
"prettier": "^3.0.1",
|
||||
"prettier-plugin-svelte": "^3.0.0",
|
||||
"svelte": "^4.0.5",
|
||||
"svelte-check": "^3.4.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue