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.
eslint-plugin-bodylabs
Advanced tools
Body Labs JavaScript style, using eslint.
This is provided as an eslint module, because it lets us bundle together multiple configs, and also allows us to provide code for our own rules, should we add any in the future.
npm install --save-dev eslint eslint-plugin-bodylabs
In your project, create .eslintrc.yml
:
extends:
"plugin:bodylabs/common"
Or for ES6:
extends:
"plugin:bodylabs/common-es6"
And then set up scripts:
"scripts": {
"lint": "eslint src",
"unittest": "mocha src",
"test": "npm run lint && npm run unittest"
}
This repository adopts the versioning strategy of JSCS:
We recommend installing JSCS and eslint via NPM using ^
, or ~
if you want more stable releases.
Semver (http://semver.org/) dictates that breaking changes be major version bumps. In the context of a linting tool, a bug fix that causes more errors to be reported can be interpreted as a breaking change. However, that would require major version bumps to occur more often than can be desirable. Therefore, as a compromise, we will only release bug fixes that cause more errors to be reported in minor versions.
Below you fill find our versioning strategy, and what you can expect to come out of a new JSCS release.
FAQs
Body Labs JavaScript style
The npm package eslint-plugin-bodylabs receives a total of 5 weekly downloads. As such, eslint-plugin-bodylabs popularity was classified as not popular.
We found that eslint-plugin-bodylabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.