Created
November 2, 2015 20:45
-
-
Save vladkosinov/2d0497be4e9eece144d1 to your computer and use it in GitHub Desktop.
How to use stylelint with postcss loader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
module: { | |
loaders: [ | |
{test: CSS_REGEX, loaders: ['style', 'css', 'postcss']}, | |
] | |
}, | |
postcss: () => [require('stylelint'), require('postcss-reporter')] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need to have rules, even if they're empty: