
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.
@artus/eslint-config-artus
Advanced tools
Node Style Guide for Artus and its ecosystem.
npm i eslint @artus/eslint-config-artus --save-dev
package.json
{
"devDependencies": {
"@artus/eslint-config-artus": "^1.0.0",
"eslint": "8"
}
}
.eslintrc.js
module.exports = {
extends: '@artus/eslint-config-artus',
};
package.json
{
"devDependencies": {
"@artus/eslint-config-artus": "^1.0.0",
"typescript": "^4.6.3"
}
}
.eslintrc.js
module.exports = {
extends: '@artus/eslint-config-artus/typescript',
parserOptions: {
// recommend to use another config file like tsconfig.eslint.json and extends tsconfig.json in it.
// because you may be need to lint test/**/*.test.ts but no need to emit to js.
// @see https://github.com/typescript-eslint/typescript-eslint/issues/890
project: './tsconfig.json'
}
};
scripts
{
"lint": "eslint . --ext .ts"
}
settings.json
in vscode{
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
]
}
If you want to use eslint-config-egg with experimental features such as async function
, you should use @babel/eslint-parser
parser:
package.json
{
"devDependencies": {
"@artus/eslint-config-artus": "^1.0.0",
"eslint": "8",
"@babel/core": "7",
"@babel/eslint-parser": "7"
}
}
.eslintrc.js
module.exports = {
extends: '@artus/eslint-config-artus',
// for experimental features support
parser: '@babel/eslint-parser',
rules: {
// see https://github.com/eslint/eslint/issues/6274
'generator-star-spacing': 'off',
'babel/generator-star-spacing': 'off',
}
};
FAQs
Node Style Guide for Artus.
The npm package @artus/eslint-config-artus receives a total of 152 weekly downloads. As such, @artus/eslint-config-artus popularity was classified as not popular.
We found that @artus/eslint-config-artus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.