all: Readd no-var and object-shorthand lint rules (connects #9082) - #10245
Open
paulbert wants to merge 1 commit into
Open
all: Readd no-var and object-shorthand lint rules (connects #9082)#10245paulbert wants to merge 1 commit into
paulbert wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (21)
📝 WalkthroughWalkthroughChangesThe ESLint configuration now requires Syntax standardization
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Member
Author
|
Forgot to link to the issue, #9082 |
Mutugiii
approved these changes
Aug 5, 2026
This was referenced Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written using an OpenCode free model (Big Pickle). I was intending to use a local model, but didn't realize OpenCode defaulted to a free model.
Anyway adding back in a few of the lint rules, here's the model outputs after running a few queries:
Added no-var: "error" to eslint.config.mjs:243 and fixed the only violation by changing declare var module to declare const module in src/typings.d.ts:2. Lint passes.
Added object-shorthand: ["error", "always"] to eslint.config.mjs:244 and auto-fixed all 25 violations with ng lint --fix. The fixes convert key: value to shorthand (value), which is semantically identical. Lint passes.
Summary by CodeRabbit
Refactor
Bug Fixes