Skip to content

kos33rd/mint-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module-level Linter plugin for Webpack

Usage

In your webpack configuration

const MintPlugin = require('mint-webpack-plugin')

module.exports = {
  // ...
  plugins: [
    new MintPlugin({
        root: './src',
        mask: ['**/*.js*', '**/*.jsx', '**/*.css', '**/*.svg', '!**/*.spec.js*', '!node_modules/**'] // any suitable globby patterns (https://github.com/sindresorhus/globby)
    }),
  ],
  // ...
}

Available checks

At the moment there is only one linting option - search for unused files in your project.

Results

The plugin will dump report every time you build your project.


Here is a short presentation on this plugin idea (in russian)

About

Module-level linter for webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published