Just one thing here, postcss-html is not checking your .scss files at all. I needed to put post-scss here, but then I got an error. This is what terminal is saying to me: Unknown word CssSyntaxError.
This is what we need in .stylelintrc.json:
{
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-standard-scss"
],
"rules": {
"color-named": "never",
"no-duplicate-selectors": true
},
"overrides": [
{
"files": [".astro", "/.astro"],
"customSyntax": "postcss-html"
}
]
}
package.json is okay:
"lint:scss": "stylelint \"src/*/.{astro,scss}\""
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just one thing here, postcss-html is not checking your .scss files at all. I needed to put post-scss here, but then I got an error. This is what terminal is saying to me: Unknown word CssSyntaxError.
This is what we need in .stylelintrc.json:
{
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-standard-scss"
],
"rules": {
"color-named": "never",
"no-duplicate-selectors": true
},
"overrides": [
{
"files": [".astro", "/.astro"],
"customSyntax": "postcss-html"
}
]
}
package.json is okay:
"lint:scss": "stylelint \"src/*/.{astro,scss}\""