Skip to content

Fail lint on warnings - #165

Merged
jtklein-agents merged 1 commit into
spec/118-page-store-mobx-7from
lint-max-warnings-zero
Nov 15, 2026
Merged

jtklein-agents merged 1 commit into
spec/118-page-store-mobx-7from
lint-max-warnings-zero

Conversation

@jtklein-agents

Copy link
Copy Markdown
Owner

Summary

 "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" electron.vite.config.js jest.config.js \"jest/**/*.js\"
+  --max-warnings 0",

The lint.yaml CI job runs yarn lint. eslint exits 0 on warnings, so a warning never failed CI. lint:fix is unchanged.

Evidence

Before adding the flag, master and spec/118-page-store-mobx-7 both had zero warnings, so nothing needed cleaning up first.

  • Before: a file with one no-loop-func warning → yarn lint exits 0
    After: same file → yarn lint exits 1; the current tree → exits 0

Merge Danger

Door: two-way

Revert the one flag.

Blast Radius: CI

An open branch that adds a warning now fails the lint job until the warning is fixed.

🤖 Generated with Claude Code

eslint exits 0 on warnings, so the CI lint job let them through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jtklein-agents
jtklein-agents changed the base branch from master to spec/118-page-store-mobx-7 November 15, 2026 00:27
@jtklein-agents
jtklein-agents merged commit 89945fa into spec/118-page-store-mobx-7 Nov 15, 2026
11 checks passed
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.

1 participant