Security News
Supply Chain Attack Detected in @solana/web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
eslint-config-uphold
Advanced tools
Uphold-flavored ESLint config.
The rules defined here extend the eslint-recommended preset, as well as the overrides that allow the Prettier pretty-printer to reformat the code without conflicts.
$ npm install eslint eslint-config-uphold prettier --save-dev
Create an .eslintrc.yml
file with the following content:
extends: uphold
Add a lint
command to the scripts
section of your package.json
, like so:
{
"scripts": {
"lint": "eslint ."
}
}
and run the linter with:
$ npm run lint
To automatically fix all lint issues, use the --fix
option:
$ npm run lint --fix
See the eslint repo for eslint's guidelines on semantic versioning.
A tilde range is set for the eslint dependency to pick up any patch changes by default.
For any minor/major upgrades to eslint
it is recommended to update both eslint and eslint-config-uphold
and keep them in parallel. This is down to the fact that no guarantee is made that minor upgrades do not cause conflicts or issues with existing or new rules. The downside here is a package update is required for any security or other bug fixes. The benefit however is the included rules are always guaranteed to be stable.
FAQs
Uphold-flavored ESLint config
The npm package eslint-config-uphold receives a total of 9,025 weekly downloads. As such, eslint-config-uphold popularity was classified as popular.
We found that eslint-config-uphold demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.