Detalhes do pacote

@pixolith/webpack-filename-linter-plugin

pixolith262MIT10.0.0

How to use

readme (leia-me)

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',
    },
});