We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Run Stylint on the following scss file:
scss
@mixin is($breakpoint) { // No error reported! @if map-has-key($breakpoints, $breakpoint) { // Getting an error as expected color: map-get($colors, red); @include _media($from: $breakpoint, $until: map.get($next, $breakpoint)) { @content; } } }
{ "extends": ["stylelint-config-standard-scss", "stylelint-config-prettier-scss"], "rules": { "string-quotes": "single", "function-name-case": null, "scss/at-mixin-pattern": null, "scss/dollar-variable-pattern": null, "scss/at-function-pattern": null } }
CLI with "stylelint \"**/*.scss\"
"stylelint \"**/*.scss\"
14.5.0
I was expecting an error, since I'm using map-has-keys instead of map.has-keys
map-has-keys
map.has-keys
No error is reported
No response
The text was updated successfully, but these errors were encountered:
@if
no-global-function-names
Successfully merging a pull request may close this issue.
What steps are needed to reproduce the bug?
Run Stylint on the following
scss
file:What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
CLI with
"stylelint \"**/*.scss\"
Which version of Stylelint are you using?
14.5.0
What did you expect to happen?
I was expecting an error, since I'm using
map-has-keys
instead ofmap.has-keys
What actually happened?
No error is reported
Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
No response
The text was updated successfully, but these errors were encountered: