Skip to content

fix: apply lint categories to type-aware checks - #41

Draft
romankurakin wants to merge 1 commit into
elixir-volt:masterfrom
romankurakin:fix/type-aware-categories
Draft

romankurakin wants to merge 1 commit into
elixir-volt:masterfrom
romankurakin:fix/type-aware-categories

Conversation

@romankurakin

@romankurakin romankurakin commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Volt removes category filters before invoking the type-aware runner. A configuration such as rules: %{"correctness" => :deny} therefore does not enable typescript/no-floating-promises unless the rule is also listed explicitly.

Pass categories and enabled plugins to OXC after resolving per-file overrides. OXC expands the categories using its native registry. When tsgolint rejects an unsupported rule, explicitly disable it before retrying so category expansion cannot select it again.

This PR depends on the category support proposed in elixir-volt/oxc_ex#7 and a corresponding OXC release.

Closes #40.

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.

Lint categories do not enable type-aware rules

1 participant