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.
hapi-scope-start
Advanced tools
ESLint rule to enforce new line at the beginning of function scope
ESLint rule to enforce new line at the beginning of function scope
allow-one-liners
If the string 'allow-one-liners'
is passed as the first option to this rule,
then functions whose bodies contain zero or one statements are allowed to be
written on a single line. This defaults to true
for arrow functions, and
false
otherwise.
max-in-one-liner
The second option to this rule dictates the maximum number of statements allowed
in the bodies of one line function. This must be used in conjunction with
allow-one-liners
. Defaults to one.
FAQs
ESLint rule to enforce new line at the beginning of function scope
The npm package hapi-scope-start receives a total of 3,268 weekly downloads. As such, hapi-scope-start popularity was classified as popular.
We found that hapi-scope-start demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.