Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
lint: Make prettier quieter when fixing.
Anders Kaseorg308883302d83
diff --git a/tools/lint b/tools/lintindex a537c0abd5c..352e6548d7d 100755--- a/tools/lint+++ b/tools/lint@@ -93,9 +93,9 @@ def run() -> None:linter_config.external_linter('isort', ['isort'], ['py'],description="Sorts Python import statements",check_arg=['--check-only', '--diff'])- linter_config.external_linter('prettier', ['node_modules/.bin/prettier'],+ linter_config.external_linter('prettier', ['node_modules/.bin/prettier', '--check'],['js', 'ts', 'yaml', 'yml'],- check_arg=['--check'], fix_arg=['--write'],+ fix_arg=['--write'],description="Formats JavaScript and YAML",# https://github.com/prettier/prettier/pull/8703suppress_line=lambda line: line in ["Checking formatting...\n", "All matched files use Prettier code style!\n"])