Licence
MIT
Version
12.0.0
Deps
2
Size
4 kB
Vulns
0
Weekly
0
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',
},
});