
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.
eslint-plugin-param-inline-comments
Advanced tools
eslint-plugin-param-inline-comments
is an ESLint plugin that enforces inline comments for function parameters. This helps to improve code readability and maintainability by ensuring that the purpose of each parameter is clearly documented.
To install the plugin, run:
npm install eslint-plugin-param-inline-comments --save-dev
Add param-inline-comments to the plugins section of your ESLint configuration file, and configure the rule:
module.exports = {
plugins: [
"param-inline-comments"
],
rules: {
"param-inline-comments/param-inline-comments": "warn"
}
};
On the other hand, If you want to remove the comments added, use the no-param-inline-comments
rule instead
"param-inline-comments/no-param-inline-comments": "warn"
Given the following code:
function test(a, b, c, d) {
// function body
}
test(1, true, null, false);
The plugin will enforce the following change:
function test(a, b, c, d) {
// function body
}
test(/* a */ 1, /* b */ true, /* c */ null, /* d */ false);
Contributing Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This README provides a clear and concise summary of the ESLint plugin, including installation and usage instructions, an example, and information on contributing and licensing.
FAQs
## Description
The npm package eslint-plugin-param-inline-comments receives a total of 0 weekly downloads. As such, eslint-plugin-param-inline-comments popularity was classified as not popular.
We found that eslint-plugin-param-inline-comments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.