chore: expand ESLint rules for stricter code style enforcement#62
Conversation
- keyword-spacing: enforces spaces before/after keywords
- no-multi-spaces: disallows multiple consecutive spaces
- no-multiple-empty-lines: limits blank lines
- no-unused-vars: 'off': disables base rule (deferred to the TS-specific version)
- padding-line-between-statements: requires a blank line before every return statement
- space-before-blocks: enforces a space before { blocks
- @typescript-eslint/no-require-imports: disallows CommonJS require() calls
- @typescript-eslint/no-unused-vars: expanded config to ignore variables/args prefixed with underscore
- Rules object and array entries now use trailing commas
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 14 minutes and 33 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (29)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
keyword-spacing,no-multi-spaces,no-multiple-empty-lines,padding-line-between-statements,space-before-blocks, and@typescript-eslint/no-require-importscomma-danglefrom'never'to'always-multiline'(trailing commas required on multiline structures)@typescript-eslint/no-unused-varsto ignore variables/args prefixed with_; disabled the baseno-unused-varsrule in favor of the TS-specific versionreturn, spacing fixes)CLAUDE.mdwith accurate codebase documentationTest plan
npm run lintpasses with no errorsnpm run transpile:noemitpasses type-checknpm testpasses all testsType of Change
Checklist