10.0.0 • Published 8 months ago
@pixolith/webpack-filename-linter-plugin v10.0.0
Webpack Filename Linter Plugin
How to use
Install
npm install @pixolith/webpack-filename-linter-plugin --save-devAdd 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',
},
});