Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(scripts): Use the SCSS shared stylelint-config-wordpress config #17060
When using the
By updating the config to use the
How has this been tested?
Download a valid SCSS file, e.g. scss-valid.scss and run the
If successful there should be no errors displayed.
If unsuccessful the following errors will be displayed:
scss-valid.scss 3:1 ✖ Unexpected unknown at-rule "@function" at-rule-no-unknown 5:2 ✖ Unexpected unknown at-rule "@return" at-rule-no-unknown 8:1 ✖ Unexpected unknown at-rule "@mixin" at-rule-no-unknown 19:1 ✖ Unexpected unknown at-rule "@if" at-rule-no-unknown 21:2 ✖ Expected newline after "}" block-closing-brace-newline-after 21:3 ✖ Expected empty line before at-rule at-rule-empty-line-before 21:3 ✖ Unexpected unknown at-rule "@else" at-rule-no-unknown 30:2 ✖ Unexpected unknown at-rule "@include" at-rule-no-unknown 31:2 ✖ Unexpected unknown at-rule "@include" at-rule-no-unknown
Types of changes
jorgefilipecosta left a comment
Hi @ntwb thank you for looking into this problem,
I get exactly the same error in master. Is that expected? I'm doing something wrong?
@jorgefilipecosta That's correct, its also the current behaviour which this PR is aiming to fix.
The reason you're getting this error still is because the old stylelint config is still being used, you'd need to remove the
I see the same issue unless I update