Skip to content

chore(lint): remove legacy .eslintrc.js superseded by flat config#178

Merged
pchuri merged 1 commit into
mainfrom
chore/remove-legacy-eslintrc
May 10, 2026
Merged

chore(lint): remove legacy .eslintrc.js superseded by flat config#178
pchuri merged 1 commit into
mainfrom
chore/remove-legacy-eslintrc

Conversation

@pchuri
Copy link
Copy Markdown
Owner

@pchuri pchuri commented May 10, 2026

Summary

  • Delete .eslintrc.js. ESLint 9 only loads eslint.config.js (flat config) and silently ignores legacy .eslintrc.* files, so the file was dead config that misrepresented the rules actually applied during npm run lint.
  • eslint.config.js already mirrors every rule from the legacy file (indent, linebreak-style, quotes, semi, no-unused-vars, no-console, no-process-exit) and adds caughtErrors: 'none'. No behavior change.

Test plan

  • npm run lint — passes with no errors
  • npm test — 669 tests across 15 suites pass
  • No references to .eslintrc in .github/, package.json scripts, or any source file

ESLint 9 only loads eslint.config.js and ignores .eslintrc.js, so the
legacy file was dead config that misrepresented the active rules. The
flat config in eslint.config.js already covers all rules from the legacy
file (with an additional caughtErrors: 'none' for unused-vars).
@pchuri pchuri self-assigned this May 10, 2026
@pchuri pchuri merged commit 501f199 into main May 10, 2026
6 checks passed
@pchuri pchuri deleted the chore/remove-legacy-eslintrc branch May 10, 2026 03:44
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.6.1 🎉

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant