MhMadHamster / vscode-postcss-language

postcss syntax support extension for VSCode
MIT License
34 stars 7 forks source link

@apply, @custom-media, @custom-selector throw errors #11

Closed patrickfatrick closed 7 years ago

patrickfatrick commented 7 years ago

These are new specs supported by cssnext, but are flagged by the extension.

See http://cssnext.io/features/#custom-properties-set-apply, http://cssnext.io/features/#custom-media-queries, and http://cssnext.io/features/#custom-selectors

If there's an option to turn off the linting support that would also be fine with me because I'm usually using stylelint with postcss anyway.

MhMadHamster commented 7 years ago

you can add "postcss.validate": false in config file to turn off validation

patrickfatrick commented 7 years ago

Perfect, that works.

patrickfatrick commented 7 years ago

Closing.