
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.
@h1nyc/eslint-config-precise
Advanced tools
@h1nyc/eslint-config-precise
The @h1nyc/eslint-config-precise package is a set of linting and prettier rules for use in the H1-Precise family of products. The rules have been heavily borrowed from Google's TypeScript Style Guide. This package has not been configured for use in React projects, a seperate package will be created for that.
This configuration relies heavily on the goolge gts. GTS supplies most of the basline rules and styles used by this package. Additopnal rule configurations are set using the
index.js
script.
To use this package in your project follow the follow steps.
startup.sh
script in the repository root's folder. gts has some harcoded dependencies baked into the package. This script will create yarn links to resolve all of that.package.json
file:"lint": "gts lint"
"clean": "gts clean"
"fix": "gts fix"
"precommit": "lint-staged"
package.json
file -- will enable pre-commit hooks. "lint-staged": {
"*.{js,ts}": [
"gts fix"
]
}
Once set up you should be able to run gts lint
to apply the rules to your project. gts fix
can be run to fix those issues which can be automatically fixed.
Custom rules are defined in the index.js file and can be mondified there.
FAQs
An eslint configuration for the H1-Precise project
The npm package @h1nyc/eslint-config-precise receives a total of 3 weekly downloads. As such, @h1nyc/eslint-config-precise popularity was classified as not popular.
We found that @h1nyc/eslint-config-precise demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 56 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.