Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-unused-private-members does not consider hyphens and underscores identical #986

Closed
pamelalozano16 opened this issue Apr 4, 2024 · 0 comments · Fixed by #987
Closed

Comments

@pamelalozano16
Copy link
Contributor

pamelalozano16 commented Apr 4, 2024

"All Sass identifiers, treat hyphens and underscores as identical." However, no-unused-private-members treats them as different variables.
E.g

$_a-b: 1px;
/* ↑  Unused variable */

.b {
  margin: $-a-b;
}
@pamelalozano16 pamelalozano16 changed the title no-unused-private-members doesn't no-unused-private-members doesn't treat hyphens and underscores as equals Apr 4, 2024
@pamelalozano16 pamelalozano16 changed the title no-unused-private-members doesn't treat hyphens and underscores as equals no-unused-private-members does not consider hyphens and underscores identical Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant