Could you add stylelint?
landwire opened this issue · 2 comments
landwire commented
Could you add stylelint to PostCSS? Or show an example how to do it?
lifenautjoe commented
Hey @landwire, I won't add it to the starter as It's really a preference thing but have you tried the stylelint-webpack-plugin ?
$ npm install stylelint-webpack-plugin --save-dev
// webpack.dev.js
const StyleLintPlugin = require('stylelint-webpack-plugin');
module.exports = {
// ...
plugins: [
new StyleLintPlugin(options),
],
// ...
}
Let me know if this worked for you.
Cheers 👋
lifenautjoe commented
Closing for now as no response