
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
eslint-plugin-gmfe
Advanced tools
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-gmfe
:
$ npm install eslint-plugin-gmfe --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-gmfe
globally.
添加配置到 .eslintrc
{
"extends": [
"plugin:gmfe/recommended"
]
}
{
"plugins":[
"gmfe"
],
"rules": {
"gmfe/no-implict-lodash-each-return": "error",
}
}
no-implict-lodash-each-return
_.each/forEach 回调只允许使用块级函数体语法,并且不包含 return 语句 或 return
return true
return false
FAQs
``` npm i eslint --save-dev npm i eslint-plugin-gmfe --save-dev ```
We found that eslint-plugin-gmfe 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.