Skip to content

chore(js): Show only lint errors, not warnings, by default#21721

Merged
SyntaxColoring merged 2 commits into
edgefrom
be_quiet
Jun 11, 2026
Merged

chore(js): Show only lint errors, not warnings, by default#21721
SyntaxColoring merged 2 commits into
edgefrom
be_quiet

Conversation

@SyntaxColoring

Copy link
Copy Markdown
Contributor

Overview

quiet decides whether our JS linter emits just errors (quiet=true), or also warnings (quiet=false).

We have thousands of warnings, which is too many for quiet=false to be a useful default, so this switches the default to quiet=true.

Test Plan and Hands on Testing

None needed.

Review requests

Agreed, in principle?

Risk assessment

Low.

@SyntaxColoring SyntaxColoring requested review from a team and ncdiehl11 and removed request for a team June 11, 2026 17:15

@sfoster1 sfoster1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty! want to also bump the heap memory restrictions?

@TamarZanzouri TamarZanzouri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank god

@SyntaxColoring SyntaxColoring merged commit 105fe32 into edge Jun 11, 2026
115 checks passed
@SyntaxColoring SyntaxColoring deleted the be_quiet branch June 11, 2026 18:05
Comment thread Makefile
# todo(mm, 2026-03-04): Move --report-unused-disable-directives-severity to config file
# when the file supports it (upgrade eslint and/or move away from legacy config format)
pnpm exec eslint --quiet=$(quiet) --report-unused-disable-directives-severity error --ignore-pattern "node_modules/" ".*.@(js|ts|tsx)" "**/*.@(js|ts|tsx)"
NODE_OPTIONS="--max-old-space-size=8192 $(NODE_OPTIONS)" pnpm exec eslint --quiet=$(quiet) --report-unused-disable-directives-severity error --ignore-pattern "node_modules/" ".*.@(js|ts|tsx)" "**/*.@(js|ts|tsx)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4096 didn't work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants