Skip to content

Commit

Permalink
fix: ensure generated types match eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Nov 17, 2023
1 parent 446e17e commit 6f18e3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vite-plugin-svelte-inspector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"check:publint": "publint --strict",
"check:types": "tsc --noEmit",
"generate:types": "dts-buddy -m \"@sveltejs/vite-plugin-svelte-inspector:src/public.d.ts\""
"generate:types": "dts-buddy -m \"@sveltejs/vite-plugin-svelte-inspector:src/public.d.ts\" && eslint --fix types && prettier --write types"
},
"engines": {
"node": "^18.0.0 || >=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"check:publint": "publint --strict",
"check:types": "tsc --noEmit",
"generate:types": "dts-buddy -m \"@sveltejs/vite-plugin-svelte:src/public.d.ts\""
"generate:types": "dts-buddy -m \"@sveltejs/vite-plugin-svelte:src/public.d.ts\" && eslint --fix types && prettier --write types"
},
"engines": {
"node": "^18.0.0 || >=20"
Expand Down

0 comments on commit 6f18e3d

Please sign in to comment.