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)
}),
],
// ...
}
At the moment there is only one linting option - search for unused files in your project.
The plugin will dump report every time you build your project.
Here is a short presentation on this plugin idea (in russian)