tyler36/laravel-mix-stylelint

Incompatible with stylelint version 14

rrelmy opened this issue · 2 comments

stylelint version 14 removed the syntax option.

The option is used here

syntax: 'scss',

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 });

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.

Fixed in #6