chore: small tweaks to add a few missing rules#13
Open
ScriptedAlchemy wants to merge 315 commits intomainfrom
Open
chore: small tweaks to add a few missing rules#13ScriptedAlchemy wants to merge 315 commits intomainfrom
ScriptedAlchemy wants to merge 315 commits intomainfrom
Conversation
|
Cursor Agent can help with this pull request. Just |
|
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
ScriptedAlchemy
commented
Feb 13, 2026
internal/plugins/typescript/rules/ban_tslint_comment/ban_tslint_comment.go
Show resolved
Hide resolved
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Re-enable previously skipped test scenarios and tighten rule-tester message-id matching so missing behavior is no longer masked. Update the affected TypeScript rules to satisfy those restored cases and keep CLI format checks strict without disabling rules. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Move API language-option matching/merging onto shared config helpers, harden no-deprecated matching away from regex-heavy import detection, and restore out-of-scope files to main-equivalent content to reduce review noise. Co-authored-by: Cursor <cursoragent@cursor.com>
Add stronger no-deprecated import/allow-path coverage and reason checks, enforce output assertions in the rule-tester autofix path, and include the newly enabled strict-void-return/no-useless-default-assignment suite wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the dedicated member-ordering variant suite files with new strict-void-return and no-useless-default-assignment rule implementations and parity test wiring so the branch tracks the active rule port scope. Co-authored-by: Cursor <cursoragent@cursor.com>
Revert low-value package and harness churn, restore deleted member-ordering variant suites, and keep the checker shim change minimal to required behavior. Also correct ban-ts-comment multiline parsing and consistent-type-assertions precedence so rule diagnostics stay parity-consistent. Co-authored-by: Cursor <cursoragent@cursor.com>
Treat Foo[] index-signature value types as reportable instead of circular and update rule tests to match the migrated upstream parity cases. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid calling node.Text on unsupported declaration-name nodes in no-deprecated so destructuring patterns no longer panic during parity runs, and make the CLI github-format test assert required diagnostics without assuming no additional annotations. Co-authored-by: Cursor <cursoragent@cursor.com>
|
very small tweaks indeed! |
Include all missing member-ordering and no-unused-vars parity artifacts in rstest, and resolve upstream suite aliases to canonical rule IDs so imported test files execute against the intended rslint rule. Co-authored-by: Cursor <cursoragent@cursor.com>
…overage Add autofix behavior and stronger invalid-case coverage for no-useless-default-assignment in Go tests, align JS parity expectations, and introduce missing no-loss-of-precision Go tests to close the reported coverage hole. Co-authored-by: Cursor <cursoragent@cursor.com>
Restore JS output assertions and Go coverage for no-useless-default-assignment so both parity layers validate autofix behavior. Update core diagnostic typing with optional fix metadata to align the RuleTester fix pipeline. Co-authored-by: Cursor <cursoragent@cursor.com>
Repository owner
deleted a comment from
NiHaiden
Feb 13, 2026
Use UTF-8 byte lengths for IPC framing and align apply-fixes handling with upstream-style single-pass semantics to avoid corrupted or unstable outputs. Also add no-import-type-side-effects autofix support with matching Go test assertions to restore parity expectations. Co-authored-by: Cursor <cursoragent@cursor.com>
Repository owner
deleted a comment from
tokiory
Feb 14, 2026
Improve rule parity for the newly added TypeScript rules by tightening edge-case handling in autofixes and option parsing. This keeps fixes stable across repeated passes and aligns diagnostics/output expectations with the rule test harness. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Feb 20, 2026
…script-eslint-rules-b4ce # Conflicts: # internal/config/config.go # internal/plugins/typescript/rules/prefer_namespace_keyword/prefer_namespace_keyword.go # internal/plugins/typescript/rules/prefer_namespace_keyword/prefer_namespace_keyword.md # internal/plugins/typescript/rules/prefer_namespace_keyword/prefer_namespace_keyword_test.go # internal/plugins/typescript/rules/prefer_string_starts_ends_with/prefer_string_starts_ends_with.go # packages/rslint-test-tools/rstest.config.mts # packages/rslint-test-tools/tests/typescript-eslint/rules/__snapshots__/prefer-namespace-keyword.test.ts.snap # packages/rslint-test-tools/tests/typescript-eslint/rules/__snapshots__/prefer-string-starts-ends-with.test.ts.snap # packages/rslint/src/node.ts
This was referenced Feb 20, 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.
Summary
This PR is the integration branch for the TypeScript ESLint porting/parity effort in rslint.
It includes:
Rules added on this branch (vs main)
Current status