Configure global prettier

This commit is contained in:
Manav Rathi 2024-02-16 10:36:19 +05:30
parent 6b5859dca7
commit 21b8c4e77a
2 changed files with 8 additions and 2 deletions

View file

@ -2,4 +2,9 @@ thirdparty/
public/
node_modules/
*.md
*.yml
*.yml
# TODO (MR): This file might not be needed after we update prettier to v3, since
# v3 respects .gitignore
.next/
out/

View file

@ -23,7 +23,8 @@
"lint": "turbo run lint",
"albums": "turbo run albums",
"prepare": "husky install",
"photos:dev": "TURBO_NO_UPDATE_NOTIFIER=true turbo run dev --filter=photos"
"photos:dev": "TURBO_NO_UPDATE_NOTIFIER=true turbo run dev --filter=photos",
"lint-x": "prettier --check ."
},
"dependencies": {
"@emotion/react": "11.10.6",