I'm using StyleLint with Webpack.
My current Webpack configuration is:
module.exports.styleLint = (isProd = false) => {
const options = {
configFile: './.stylelintrc.json',
files: '**/*.less',
format: 'less',
failOnError: false,
quiet: false,
emitErrors: isProd
};
return new StyleLintPlugin(options);
};
How can I specify some folders or files to be ignored by StyleLint (I don't want to see any errors in the output)?
Note:
I don't want to add
/* stylelint-disable */
inside these files.
ignoreFiles
config, but this worked perfectly. – Swansea