vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Support of style lint #1111

Open sylvainar opened 6 years ago

sylvainar commented 6 years ago

What problem does this feature solve?

Out of the box lint for CSS / SASS / LESS files in Vue single-file component

What does the proposed API look like?

Currently, the vue cli proposes a linter for JS files but not for styles. It could be great to provides that kind of tooling out of the box, without ejecting the webpack config.

ChristianStornowski commented 6 years ago

I installed https://www.npmjs.com/package/@mapbox/stylelint-processor-arbitrary-tags. :-)

RehanSaeed commented 6 years ago

There is a plugin available for stylelint called @ascendancyy/vue-cli-plugin-stylelint that seems to be unmaintained. I wholeheartedly agree that this should be built in.

tigerclaw-az commented 6 years ago

+1

NickDJM commented 4 years ago

Just wanted to bring a little more life to this issue.

It does look like the plugin that @RehanSaeed mentioned is indeed unmaintained (or at least very sporadically maintained) and doesn't seem to be compatible with the latest stylelint.

Having this build in to cli would be super cool.