@pixolith/webpack-filename-linter-plugin
v9.0.0
Published
## How to use
Downloads
298
Readme
Webpack Filename Linter Plugin
How to use
Install
npm install @pixolith/webpack-filename-linter-plugin --save-dev
Add the plugin
const FilenameLinterPlugin = require('@pixolith/webpack-filename-linter-plugin');
Add this to the plugins
section of your webpack.config.js
new FilenameLinterPlugin({
ignoreFiles: [/w/],
rules: {
css: 'kebab',
js: 'kebab',
},
});