Skip to content

refactor(linter): store rule configuration in resolved linter state - #29532

Merged
camchenry merged 2 commits into
print-config/rule-options-serializationfrom
print-config/resolved-rule-options
Nov 14, 2026
Merged

camchenry merged 2 commits into
print-config/rule-options-serializationfrom
print-config/resolved-rule-options

Conversation

@camchenry

@camchenry camchenry commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Instead of only storing the resolved severity for a rule in the final linter state, also include the lint rule's resolved configuration. This will be used in the next PR to enable --print-config to print the actual resolved rule severity and configuration options in the same way that the linter resolves them.

@github-actions github-actions Bot added the A-linter Area - Linter (oxlint): rules, config, diagnostics, fixes. Add L-* labels for details label Nov 14, 2026
@camchenry
camchenry added this pull request to stack #29539 November 14, 2026 04:22
@codspeed

codspeed Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 5 untouched benchmarks
⏩ 105 skipped benchmarks1


Comparing print-config/resolved-rule-options (3683d7e) with print-config/rule-options-serialization (24d0a11)

Open in CodSpeed

Footnotes

  1. 105 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@camchenry
camchenry removed this pull request from stack #29539 November 14, 2026 04:45
@camchenry
camchenry force-pushed the print-config/resolved-rule-options branch from a5b6bb2 to 3683d7e Compare November 14, 2026 04:45
@camchenry
camchenry added this pull request to stack #29544 November 14, 2026 04:45
@camchenry
camchenry marked this pull request as ready for review November 14, 2026 04:54
@camchenry
camchenry force-pushed the print-config/resolved-rule-options branch from 5f2074e to 904e1b9 Compare November 14, 2026 14:34
@camchenry
camchenry merged commit f36cdd4 into main Nov 14, 2026
57 of 62 checks passed
@camchenry
camchenry deleted the print-config/resolved-rule-options branch November 14, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-linter Area - Linter (oxlint): rules, config, diagnostics, fixes. Add L-* labels for details

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant