
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
eslint-plugin-no-parameter-e
Advanced tools
Not allow parameter named e, confused with event and error
Developers usually want to use short, simple and meaningful names.
Sometimes they use short form, event shorten to only 1 character.
And in somecases, one character name still readable.
But there are two common variable: event
and error
. Both starts with letter e
.
If they all use short form. Developers might confused what it is.
This plugin is to prevent any function parameter use the name e
.
Which will confuse developers.
Install local plugin:
$ npm install eslint-plugin-no-parameter-e --save-dev
If you use global eslint, you need install this plugin global too.
Add plugin and rule:
{
"plugins": [
"no-parameter-e"
],
"rules": {
"no-parameter-e": 2
}
}
FAQs
Not allow parameter named `e`
The npm package eslint-plugin-no-parameter-e receives a total of 4 weekly downloads. As such, eslint-plugin-no-parameter-e popularity was classified as not popular.
We found that eslint-plugin-no-parameter-e 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.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.