Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@babel/eslint-plugin-development
Advanced tools
ESLint rules that enforce best practices in the development of Babel plugins.
A set of eslint rules to enforce best practices in the development of Babel plugins.
You'll first need to install ESLint:
$ npm install --save-dev eslint
Next, install @babel/eslint-plugin-development
:
$ npm install --save-dev @babel/eslint-plugin-development
Then, load the plugin in your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@babel/development"]
}
[!NOTE] Rules marked with :wrench: are autofixable.
@babel/development/no-deprecated-clone
(:wrench:): Disallows using the deprecated
t.clone(node)
and t.cloneDeep(node)
methods from @babel/types
. Those
calls are replaced with t.cloneNode(node)
when using eslint --fix
.@babel/development/no-undefined-identifier
: Disallows using
t.identifier("undefined")
to create a node which represents an undefined
value, since it might cause problem if undefined
is redeclared.@babel/development/plugin-name
: Requires plugins to have a name
property, which
can be useful for debugging purposes.v7.25.9 (2024-10-22)
babel-parser
, babel-template
, babel-types
syntacticPlaceholders
mode (@liuxingbaoyu)babel-helper-compilation-targets
, babel-preset-env
ClassAccessorProperty
to prevent the no-undef
rule (@victorenator)babel-parser
, babel-types
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)FAQs
ESLint rules that enforce best practices in the development of Babel plugins.
The npm package @babel/eslint-plugin-development receives a total of 342 weekly downloads. As such, @babel/eslint-plugin-development popularity was classified as not popular.
We found that @babel/eslint-plugin-development 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.