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.
@locker/eslint-config-locker
Advanced tools
Lightning Web Security ESLint configurations
$ yarn add --dev eslint @locker/eslint-config-locker
Add the appropriate configuration to the extends
field in
your configuration.
Example of .eslintrc
:
{
"extends": ["@locker/eslint-config-locker"]
}
For more details about configuration, please refer to the dedicated section in
the ESLint documentation:
https://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package
This package exposes 3 configurations for Lightning Web Security rules. Unless
stated otherwise, each configuration assumes use of @locker/rollup-plugin
in your build pipeline.
@locker/eslint-config-locker/base
configurationGoal: Detect foundational distortions of Lightning Web Security.
@locker/eslint-config-locker/recommended
configurationGoal: Detect supplemental distortions of Lightning Web Security.
@locker/eslint-config-locker/uncompiled
configurationGoal:
Detect pitfalls of code NOT compiled with @locker/rollup-plugin
.
FAQs
Lightning Web Security ESLint configurations
We found that @locker/eslint-config-locker 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.