You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#65.
This option allows you to log errors as warnings, preventing webpack-dev-server from aborting compilation.
* tests: fix typo in lint-dirty-modules test
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ See [stylelint options](http://stylelint.io/user-guide/node-api/#options) for th
44
44
45
45
*`configFile`: You can change the config file location. Default: (`undefined`), handled by [stylelint's cosmiconfig module](http://stylelint.io/user-guide/configuration/).
46
46
*`context`: String indicating the root of your SCSS files. Default: inherits from webpack config.
47
+
*`emitErrors`: Display Stylelint errors as actual errors, rather than just warnings. Default: `true`
47
48
*`failOnError`: Have Webpack's build process die on error. Default: `false`
48
49
*`files`: Change the glob pattern for finding files. Default: (`['**/*.s?(a|c)ss']`)
49
50
*`formatter`: Use a custom formatter to print errors to the console. Default: (`require('stylelint').formatters.string`)
0 commit comments