Skip to content

Commit 665494b

Browse files
committed
Prettier (3) pass
Need to pass `--plugin` options to `prettier` until prettier/prettier#15079 is resolved.
1 parent 2b2d7a3 commit 665494b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"trailingComma": "all",
33
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
4-
"pluginSearchDirs": false,
54
"overrides": [
65
{
76
"files": "*.svelte",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"preview": "vite preview",
1515
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1616
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
17-
"lint": "prettier --check . && eslint --cache --cache-location node_modules/.eslintcache .",
18-
"format": "prettier --write ."
17+
"lint": "prettier --check --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss . && eslint --cache --cache-location node_modules/.eslintcache .",
18+
"format": "prettier --write --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss ."
1919
},
2020
"devDependencies": {
2121
"@modyfi/vite-plugin-yaml": "^1.0.4",

src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

0 commit comments

Comments
 (0)