Skip to content

Commit

Permalink
chore(web): organize prettier trigger order (immich-app#3538)
Browse files Browse the repository at this point in the history
* chore(web): organize prettier trigger order

* fix package.json

* fix package.json
  • Loading branch information
alextran1502 authored Aug 3, 2023
1 parent 6da51de commit 88e9233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion web/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"trailingComma": "all",
"printWidth": 120,
"semi": true,
"organizeImportsSkipDestructiveCodeActions": true
"organizeImportsSkipDestructiveCodeActions": true,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"]
}
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"check:all": "npm run check:code && npm run test:cov",
"lint": "eslint . --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --check --plugin-search-dir=. .",
"format:fix": "prettier --write --plugin-search-dir=. .",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "jest",
"test:cov": "jest --coverage",
"test:watch": "npm test -- --watch"
Expand Down

0 comments on commit 88e9233

Please sign in to comment.