Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Add stylelint #58

Open
pixeldesu opened this issue Nov 29, 2017 · 1 comment
Open

Add stylelint #58

pixeldesu opened this issue Nov 29, 2017 · 1 comment

Comments

@pixeldesu
Copy link
Member

We're already linting our JS, so we shouldn't leave out the styles!

If you need a reference on how to use stylelint with Vue files, you can use this blog post as a guide!

What's to be done

  • Install the stylelint, stylelint-processor-html, stylelint-webpack-plugin and stylelint-config-standard packages from npm
  • Configure stylelint
  • Add the stylelint plugin to the Webpack configuration
  • Fix all problems that the linter throws
@pixeldesu
Copy link
Member Author

Gave this an attempt just now and it's not as easy as I have imagined it, at least the Webpack HMR stuff isn't.

Investigated and it seems like stylelint added support for linting inside .vue files just earlier this week. Probably giving this a bit more time will yield better results and implementations.

@resir014 resir014 mentioned this issue Dec 7, 2017
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant