Fix declaration-property-value-no-unknown
parse error for multiline interpolation
#7403
Labels
declaration-property-value-no-unknown
parse error for multiline interpolation
#7403
What minimal example or steps are needed to reproduce the bug?
What minimal configuration is needed to reproduce the bug?
How did you run Stylelint?
Which Stylelint-related dependencies are you using?
What did you expect to happen?
No error, since interpolations should be ignored in the rule:
stylelint/lib/rules/declaration-property-value-no-unknown/index.mjs
Line 122 in da7ce21
What actually happened?
A problem was reported:
Do you have a proposal to fix the bug?
I think the regex here needs to be changed to also take newline characters into account:
stylelint/lib/utils/hasScssInterpolation.mjs
Line 1 in da7ce21
The text was updated successfully, but these errors were encountered: