
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-atomic
Advanced tools
This includes the Eslint configuration used in atom-ide-community.
npm install --save-dev eslint-config-atomic
If using npm
, the bundled Eslint, TypeScript, Babel, etc is hoisted automatically.
If using pnpm
, either add the following to your .npmrc
to hoist the prettier bundled with the config
public-hoist-pattern[]=*
Or install these yourself in your devDependencies
.
pnpm install -save-dev eslint typescript @babel/core
Create a .eslintrc.json
file at the root of the project with the following content:
{
"extends": "eslint-config-atomic",
"ignorePatterns": ["dist/", "node_modules/"]
}
ignorePatterns
is the Eslint ignore paths.
Add a lint script to your package.json
:
"lint": "eslint . --fix"
strict
version which throws errors instead of warning:{
"extends": "eslint-config-atomic/strict",
"ignorePatterns": ["dist/", "node_modules/"]
}
solid
version which throws errors instead of warning:{
"extends": "eslint-config-atomic/solid",
"ignorePatterns": ["dist/", "node_modules/"]
}
{
"extends": "eslint-config-atomic/strict-solid",
"ignorePatterns": ["dist/", "node_modules/"]
}
eslint-plugin-react
.{
"extends": "eslint-config-atomic/react",
"ignorePatterns": ["dist/", "node_modules/"]
}
{
"extends": "eslint-config-atomic/strict-react",
"ignorePatterns": ["dist/", "node_modules/"]
}
This configuration lints JavaScript, TypeScript, CoffeeScript, JSON, and YAML.
The list of used plugins and dependencies:
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint-plugin-coffee": "^0.1.13",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-only-warn": "^1.0.2",
"eslint-plugin-optimize-regex": "^1.2.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-yaml": "^0.3.0",
"prettier": "^2",
"typescript": "^4",
"coffeescript": "^1",
"@babel/core": "^7",
"@babel/eslint-parser": "^7.13.14",
FAQs
Eslint config used in atom-ide-community
The npm package eslint-config-atomic receives a total of 95,049 weekly downloads. As such, eslint-config-atomic popularity was classified as popular.
We found that eslint-config-atomic 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.