Incompatible with stylelint version 14
rrelmy opened this issue · 2 comments
rrelmy commented
stylelint version 14 removed the syntax option.
The option is used here
laravel-mix-stylelint/index.js
Line 47 in c389cba
Using the default settings throws following error during builds
ERROR in The "syntax" option is no longer available. You should install an appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option
Workaround
Passing a explictly empty value overrides the default and makes stylelint happy.
mix.stylelint({ syntax: null });
tyler36 commented
Thank you for the update and workaround.
Hopefully, I'll find some time to check the migration path and add update the package. Feel free to submit a PR if you feel like contributing.
I mostly use TailwindCSS these days so I don't do a lot of CSS linting.