
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
eslint-config-sbs
Advanced tools
This package provides Side By Side .eslintrc as an extensible shared config.
Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-sbs@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev eslint-config-sbs
If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.
Otherwise, run npm info "eslint-config-sbs@latest" peerDependencies
to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version>
for each listed peer dependency.
We export two ESLint configurations for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+, FlowJS and React.
It requires eslint
, eslint-plugin-import
, eslint-plugin-react
, eslint-plugin-react-hooks
,
eslint-plugin-jsx-a11y
, eslint-config-prettier
eslint-plugin-compat
and
eslint-plugin-eslint-comments
. If you don't need React, see eslint-config-sbs/base
.
"extends": "sbs"
to your .eslintrc.For browser compatibility settings see https://github.com/amilajack/eslint-plugin-compat#3-configure-target-browsers
With Typescript:
Install @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
and typescript
{
"extends": ["sbs", "sbs/typescript"],
"parserOptions": {
"project": ["./tsconfig.json", "./packages/*/tsconfig.json"]
}
}
Our default export contains all of our ESLint rules, including ECMAScript 6+ and FlowJS.
It requires eslint
, eslint-config-prettier
and eslint-plugin-import
.
"extends": "sbs/base"
to your .eslintrcWith Typescript:
Install @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
and typescript
{
"extends": ["sbs/base", "sbs/typescript"],
"parserOptions": {
"project": ["./tsconfig.json", "./packages/*/tsconfig.json"]
}
}
Same as sbs/base
but it allows require statements
It requires eslint
, eslint-config-prettier
and eslint-plugin-import
.
"extends": "sbs/script"
to your .eslintrcFAQs
Side By Side JS ESLint config, following our styleguide
The npm package eslint-config-sbs receives a total of 2 weekly downloads. As such, eslint-config-sbs popularity was classified as not popular.
We found that eslint-config-sbs 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.