
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-kswedberg
Advanced tools
Run the following from the project's root:
npm install eslint-config-kswedberg --save-dev
Then, add the config to the project's .eslintrc.js
file.
For linting with es6 features enabled:
module.exports = {
'extends': 'kswedberg'
};
If you want react (as well as es6) features enabled:
module.exports = {
'extends': 'kswedberg/react'
};
Note that you'll need to have eslint-plugin-react
installed.
If you don't want es6 or react features:
module.exports = {
'extends': 'kswedberg/es5'
};
* Note: eslint supports a few different formats for the ...rc
file, including JavaScript, JSON, and YAML. You may use any format that eslint supports.
I always forget how to do this, so I'm writing it down as a reminder to me. See more at Configuring ESLint
/* eslint-disable */
/* eslint-enable */
/* eslint-disable no-alert, no-console */
// eslint-disable-line
// eslint-disable-line no-alert, quotes, semi
// eslint-disable-next-line
// eslint-disable-next-line no-alert, quotes, semi
FAQs
A shareable eslint config
The npm package eslint-config-kswedberg receives a total of 36 weekly downloads. As such, eslint-config-kswedberg popularity was classified as not popular.
We found that eslint-config-kswedberg demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/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.