-
Notifications
You must be signed in to change notification settings - Fork 21
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
annotation-no-unknown
should allow !default
#131
Comments
Hyzual
added a commit
to Hyzual/stylelint-config-recommended-scss
that referenced
this issue
Sep 27, 2022
This fixes stylelint-scss#131
Hyzual
added a commit
to Hyzual/stylelint-config-recommended-scss
that referenced
this issue
Sep 27, 2022
This fixes stylelint-scss#131
This could be combined with #117, because the rule is enabled in |
Thanks, sure, let's fix this! |
jnoordsij
pushed a commit
to jnoordsij/stylelint-config-recommended-scss
that referenced
this issue
Oct 22, 2022
This fixes stylelint-scss#131
kristerkari
pushed a commit
that referenced
this issue
Oct 24, 2022
nickcharlton
added a commit
to thoughtbot/administrate
that referenced
this issue
Feb 2, 2024
This is valid in Scss, and we use it in `_variables.scss`. stylelint-scss/stylelint-config-recommended-scss#131 stylelint-scss/stylelint-config-recommended-scss#132
nickcharlton
added a commit
to thoughtbot/stylelint-config
that referenced
this issue
Feb 2, 2024
In addition to being valid SCSS, we often use `!default` in places like `variables.scss`. stylelint-scss/stylelint-config-recommended-scss#131 stylelint-scss/stylelint-config-recommended-scss#132
nickcharlton
added a commit
to thoughtbot/stylelint-config
that referenced
this issue
Feb 2, 2024
In addition to being valid SCSS, we often use `!default` in places like `variables.scss`. stylelint-scss/stylelint-config-recommended-scss#131 stylelint-scss/stylelint-config-recommended-scss#132
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thank you for maintaining this stylelint configuration, it is very helpful 👍.
Since v14.10.0, stylelint added the annotation-no-unknown rule. Given that
!default
is a valid flag for Sass variables, I suggest to add some configuration to allow it. This way, users of this config will not have errors raised on their default Sass variables.Before the change:
After the change:
What do you think about it ? I'll submit a PR for it shortly.
The text was updated successfully, but these errors were encountered: