Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tell prettier not to print the names of the files it processes

Manav Rathi6c716ad8925b
diff --git a/desktop/package.json b/desktop/package.json
index d4c571cad7..8cbe1b7553 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -15,8 +15,8 @@
"dev-main": "tsc && electron app/main.js",
"dev-renderer": "cd ../web && yarn install && yarn dev:photos",
"postinstall": "electron-builder install-app-deps",
- "lint": "yarn prettier --check . && eslint --ext .ts src && yarn tsc",
- "lint-fix": "yarn prettier --write . && eslint --fix --ext .ts src && yarn tsc"
+ "lint": "yarn prettier --check --log-level warn . && eslint --ext .ts src && yarn tsc",
+ "lint-fix": "yarn prettier --write --log-level warn . && eslint --fix --ext .ts src && yarn tsc"
},
"dependencies": {
"any-shell-escape": "^0.1",
diff --git a/web/package.json b/web/package.json
index 2d5919eb1a..647ee3ba3a 100644
--- a/web/package.json
+++ b/web/package.json
@@ -27,8 +27,8 @@
"dev:payments": "yarn workspace payments dev",
"dev:photos": "yarn workspace photos next dev",
"dev:staff": "yarn workspace staff dev",
- "lint": "yarn prettier --check . && yarn workspaces run eslint --report-unused-disable-directives .",
- "lint-fix": "yarn prettier --write . && yarn workspaces run eslint --fix .",
+ "lint": "yarn prettier --check --log-level warn . && yarn workspaces run eslint --report-unused-disable-directives .",
+ "lint-fix": "yarn prettier --write --log-level warn . && yarn workspaces run eslint --fix .",
"preview": "yarn preview:photos",
"preview:accounts": "yarn build:accounts && python3 -m http.server -d apps/accounts/out 3001",
"preview:auth": "yarn build:auth && python3 -m http.server -d apps/auth/out 3000",