Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Configure global prettier

Manav Rathi21b8c4e77a73
diff --git a/.prettierignore b/.prettierignore
index 5a9cab29ff..948ba8a196 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -2,4 +2,9 @@ thirdparty/
public/
node_modules/
*.md
-*.yml
\ No newline at end of file
+*.yml
+
+# TODO (MR): This file might not be needed after we update prettier to v3, since
+# v3 respects .gitignore
+.next/
+out/
diff --git a/package.json b/package.json
index 29b91c705b..96f159bf92 100644
--- a/package.json
+++ b/package.json
@@ -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",