
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
lint-webpack-plugin
Advanced tools
A webpack plugin to run custom lint shell command
lint-webpack-plugin is a simple script to run custom lint commands.
If it's build (webpack
), it will run the commands before the webpack build
starts. If there is any error occuring in the commands, the webpack process will
stop.
If it's watch (webpack --watch
), it will run the commands with the webpack
build. Although there is any error, it will be ignored and the webpack process
will continue to work.
npm i --save-dev lint-webpack-plugin
An example webpack.config.js
with TypeScript and Prettier:
const LintPlugin = require('lint-webpack-plugin');
module.exports = {
...
plugins: [
new LintPlugin([
'tsc --noEmit',
"prettier -l --parser=babylon \'src/**/*'"
])
]
};
If you want to run shell commands at more specific timings, please use webpack-shell-plugin.
FAQs
A webpack plugin to run custom lint shell command
The npm package lint-webpack-plugin receives a total of 15 weekly downloads. As such, lint-webpack-plugin popularity was classified as not popular.
We found that lint-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.