Skip to content

Commit 1f5751d

Browse files
sebastinezrudolfs
authored andcommitted
Remove some values that are now defaults
- prettier assumes now that we want to ignore files listed in .gitignore by default - trailingComma: all is now the default value Signed-off-by: Sebastian Martinez <[email protected]>
1 parent 391f188 commit 1f5751d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"arrowParens": "avoid",
3-
"trailingComma": "all",
43
"plugins": ["prettier-plugin-svelte"],
54
"svelteSortOrder": "options-scripts-styles-markup",
65
"bracketSameLine": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build:ipfs": "VITE_HASH_ROUTING=1 vite build --base ./",
99
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
1010
"check": "scripts/check",
11-
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --ignore-path .gitignore --write",
11+
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write",
1212
"test:unit": "TZ='UTC' vitest run",
1313
"test:e2e": "TZ='UTC' playwright test",
1414
"test:e2e:ipfs": "TZ='UTC' playwright test ./tests/e2e/hashRouter.spec.ts --config playwright.ipfs.config.ts",

0 commit comments

Comments
 (0)