Skip to content

test(vscode): adapt ProjectService E2E to Rslint 0.11 - #155

Merged
fi3ework merged 1 commit into
rstackjs:mainfrom
fansenze:chore/lint-project-service-e2e
Dec 3, 2026
Merged

fi3ework merged 1 commit into
rstackjs:mainfrom
fansenze:chore/lint-project-service-e2e

Conversation

@fansenze

@fansenze fansenze commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The ProjectService E2E used no-unused-vars to check the scope of type-aware rules. Rslint 0.11 can run that rule without type information. The suite now uses no-unnecessary-type-assertion with a redundant non-null assertion to check the same project boundaries. TypeScript erases the assertion when emitting JavaScript.

Verified the diagnostic scope with Rslint 0.10.1 and the packaged 0.11.0 candidate. The ProjectService E2E passed on VS Code 1.149.0.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

The ProjectService E2E used no-unused-vars to exercise the type-aware
scope gate. Rslint 0.11 can run that rule without type information.
Use no-unnecessary-type-assertion to keep testing the scope of
type-aware diagnostics.
@fansenze
fansenze force-pushed the chore/lint-project-service-e2e branch from e25591b to b1468ff Compare December 3, 2026 10:34
@fansenze fansenze changed the title chore(lint): verify project scope with a type-aware rule test(vscode): adapt ProjectService E2E to Rslint 0.11 Dec 3, 2026
@fi3ework
fi3ework merged commit 6a08551 into rstackjs:main Dec 3, 2026
3 checks passed
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