Skip to content

fix(no-unused-variables): Stop reporting reassigned function and mixin parameters as unused - #64

Merged
MorevM merged 2 commits into
masterfrom
fix/58-no-unused-variables-false-positive
Aug 10, 2026
Merged

fix(no-unused-variables): Stop reporting reassigned function and mixin parameters as unused#64
MorevM merged 2 commits into
masterfrom
fix/58-no-unused-variables-false-positive

Conversation

@MorevM

@MorevM MorevM commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Closes #58

Parameters reassigned inside conditional at-rules are now recognized as used
when referenced later in the function or mixin.

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.64%. Comparing base (864a93b) to head (a030d53).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   98.63%   98.64%           
=======================================
  Files          56       56           
  Lines        1322     1329    +7     
  Branches      403      405    +2     
=======================================
+ Hits         1304     1311    +7     
  Misses         16       16           
  Partials        2        2           
Files with missing lines Coverage Δ
...es/sass/no-unused-variables/no-unused-variables.ts 98.57% <100.00%> (+0.15%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MorevM
MorevM merged commit ed45559 into master Aug 10, 2026
8 checks passed
@MorevM
MorevM deleted the fix/58-no-unused-variables-false-positive branch August 15, 2026 02:14
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.

False-positive in no-unused-variables

1 participant