Skip to content

fix(eslint): turn off unicorn/consistent-boolean-name - #246

Merged
jhnns merged 1 commit into
mainfrom
disable-consistent-boolean-names
Sep 23, 2026
Merged

jhnns merged 1 commit into
mainfrom
disable-consistent-boolean-names

Conversation

@jhnns

@jhnns jhnns commented Sep 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Turn off unicorn/consistent-boolean-name in the base JavaScript ESLint preset — it's too noisy, flagging established React/DOM prop names (open, checked, disabled) and predicate functions (authorize(), matches()) that read naturally without a boolean prefix.
  • Regenerate the six ESLint config snapshots to reflect the rule now being off.

Test plan

  • npm run test:snapshot
  • npm run test:lint
  • npm run build
  • npm test

🤖 Generated with Claude Code

Too noisy: flags established React/DOM prop names like open, checked or
disabled, and predicate functions like authorize() or matches() that read
naturally without a boolean prefix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@peerigon/configs@246

commit: fce3f3b

@jhnns
jhnns merged commit 6c5f05f into main Sep 23, 2026
2 checks passed
@jhnns
jhnns deleted the disable-consistent-boolean-names branch September 23, 2026 22:48
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 25.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant