Skip to content

Remove console rule exception from ESLint config - #603

Merged
razor-x merged 1 commit into
mainfrom
claude/eslint-no-console-rule-i2u6zk
Aug 4, 2026
Merged

Remove console rule exception from ESLint config#603
razor-x merged 1 commit into
mainfrom
claude/eslint-no-console-rule-i2u6zk

Conversation

@razor-x

@razor-x razor-x commented Aug 4, 2026

Copy link
Copy Markdown
Member

This change removes the ESLint configuration override that previously disabled the no-console rule for files in src/bin/**/*.ts and src/lib/**/*.ts.

Summary

The exception that allowed console calls in bin and lib source files has been removed. This means the no-console rule will now be enforced across all TypeScript files, including those in the bin and lib directories.

Changes

  • Removed the ESLint config block that disabled no-console for src/bin/**/*.ts and src/lib/**/*.ts files
  • The TODO comment about replacing console calls with a logger wrapper has also been removed

Notes

This change enforces stricter linting rules across the codebase. Any existing console calls in the affected directories will now trigger ESLint errors and will need to be addressed (either by implementing a logger wrapper as previously noted, or by removing the console calls).

https://claude.ai/code/session_01SvMcZS3PArzNFjDS4qPs37

The src/bin and src/lib override disabling no-console was a TODO
placeholder for a logger wrapper. No console calls remain in those
directories, so drop the override and let no-console apply globally.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvMcZS3PArzNFjDS4qPs37
@razor-x
razor-x marked this pull request as ready for review August 4, 2026 21:27
@razor-x
razor-x merged commit 9fdff2b into main Aug 4, 2026
12 checks passed
@razor-x
razor-x deleted the claude/eslint-no-console-rule-i2u6zk branch August 5, 2026 05:48
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.

2 participants