-
-
Notifications
You must be signed in to change notification settings - Fork 986
Labels
status: wipis being worked on by someoneis being worked on by someone
Description
What minimal example or steps are needed to reproduce the bug?
- Install
postcss-html - Pass the default export of that module to
customSyntaxin a js/ts config file.
What minimal configuration is needed to reproduce the bug?
import postcssHtml from "postcss-html"
export default {
overrides: [
{files: ["**/*.html"], customSyntax: postcssHtml},
],
}How did you run Stylelint?
npx stylelint
Which Stylelint-related dependencies are you using?
postcss-html
What did you expect to happen?
No error
What actually happened?
Error Custom syntax must be a string or a Syntax object
Do you have a proposal to fix the bug?
Allow function type for customSyntax.
Metadata
Metadata
Assignees
Labels
status: wipis being worked on by someoneis being worked on by someone