Skip to content

Commit

Permalink
Add prettier sort json plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Jul 15, 2024
1 parent a7c6d71 commit 1d82352
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"trailingComma": "all",
"arrowParens": "avoid",
"printWidth": 120,
"endOfLine": "auto"
"endOfLine": "auto",
"plugins": ["prettier-plugin-sort-json"]
}
13 changes: 13 additions & 0 deletions src/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"eslint-plugin-react-refresh": "^0.4.5",
"license-checker": "^25.0.1",
"prettier": "^3.1.0",
"prettier-plugin-sort-json": "^4.0.0",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vite-plugin-svgr": "^4.2.0",
Expand Down

0 comments on commit 1d82352

Please sign in to comment.