Skip to content

chore: drop unused eslint disables - #351

Merged
finalerock44 merged 2 commits into
devfrom
chore/drop-unused-eslint-disables
Nov 23, 2026
Merged

finalerock44 merged 2 commits into
devfrom
chore/drop-unused-eslint-disables

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

What & why

Type of change

  • fix — bug fix
  • feat — new feature
  • perf — performance improvement
  • refactor — code change that's neither a fix nor a feature
  • docs — documentation only
  • chore / ci / build / test — tooling, no user-facing change
  • Breaking change (title has ! or PR notes a BREAKING CHANGE:)

Checklist

  • PR title follows the Conventional Commits format (see comment above)
  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm build passes
  • I have not bumped the version or edited CHANGELOG.md (the release workflow handles this)
  • I have signed the CLA (the bot will prompt on first contribution)
  • Docs / README.md / STYLE_GUIDE.md updated if behaviour or output changed

How to test

ESLint reported 24 "Unused eslint-disable directive" warnings. Each
directive names a rule this config doesn't enable (no-console,
complexity, new-cap, camelcase, unicorn/no-array-reduce, and
@typescript-eslint/no-explicit-any, which is turned off), plus
no-constant-condition, which allows `while (true)`. They are left over
from the old .eslintrc setup and suppress nothing.
The plugin was only registered so that `unicorn/...` disable comments
would resolve, and it enabled no rules. The previous commit removed the
last of those comments, so the plugin no longer does anything. Removing
it also drops about 30 transitive dev dependencies from the lock file.
@finalerock44 finalerock44 self-assigned this Nov 23, 2026
@claude

claude Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

This PR only deletes lines. None of the removed eslint-disable directives point at a rule that eslint.config.cjs turns on: no-console, complexity, new-cap and camelcase are not in the recommended sets, no-explicit-any is off, and no-constant-condition allows while (true) by default. No unicorn/ references remain in src/ or test/, so dropping the plugin won't cause any 'rule not found' errors.

🤖 Generated with Claude Code

@finalerock44
finalerock44 merged commit b5706d8 into dev Nov 23, 2026
9 checks passed
@finalerock44
finalerock44 deleted the chore/drop-unused-eslint-disables branch November 23, 2026 16:28
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