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 <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-07-31 09:28:49 +02:00
committed by Rūdolfs Ošiņš
parent 391f188b69
commit 1f5751dbcb
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,6 +1,5 @@
{
"arrowParens": "avoid",
"trailingComma": "all",
"plugins": ["prettier-plugin-svelte"],
"svelteSortOrder": "options-scripts-styles-markup",
"bracketSameLine": true,
+1 -1
View File
@@ -8,7 +8,7 @@
"build:ipfs": "VITE_HASH_ROUTING=1 vite build --base ./",
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
"check": "scripts/check",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --ignore-path .gitignore --write",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write",
"test:unit": "TZ='UTC' vitest run",
"test:e2e": "TZ='UTC' playwright test",
"test:e2e:ipfs": "TZ='UTC' playwright test ./tests/e2e/hashRouter.spec.ts --config playwright.ipfs.config.ts",