A webpack plugin that runs custom lint shell commands before or during webpack build/watch. Version 0.1.1 is the latest release (no recent updates). It integrates with webpack's build and watch modes: during build, errors halt the webpack process; during watch, errors are ignored and the process continues. Simpler than alternatives like webpack-shell-plugin, but limited to running shell commands without advanced lifecycle hooks.
npm install lint-webpack-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up lint-webpack-plugin in a webpack config to run ESLint and Prettier checks.
Pass at least one command or omit the plugin entirely.
Consider using webpack-shell-plugin or a modern alternative.
Add explicit console logging or use a plugin that supports error reporting.
Sanitize command strings, especially if they contain data from external sources.
Use const LintPlugin = require('lint-webpack-plugin'); instead of import.Ensure the linting tool (e.g., eslint) is installed locally or globally and available in PATH.
Run npm install --save-dev lint-webpack-plugin.
No dependency data recorded yet.