Security News
Supply Chain Attack Detected in Solana's 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-devjmetivier
Advanced tools
These are my settings for ESLint and Prettier for Eslint
If you like them, awesome. If not, change them up!
You can use eslint globally and/or locally per project. It's usually best to install this locally once per project, that way you can have project specific settings as well as sync those settings with others working on your project via git.
If you don't already have a package.json file, create one with npm init
or yarn init
.
Install everything needed by the config:
npm install eslint-config-devjmetivier
or yarn add eslint-config-devjmetivier
Create a .eslintrc file in the root of your project's directory (it should live where package.json does). Your .eslintrc file should look like this:
{
"extends": ["devjmetivier"]
}
Tip: You can alternatively put this object in your package.json under the property "eslintConfig":. This makes one less file in your project.
You can add two scripts to your package.json to lint and/or fix:
"scripts": {
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.jsx,.tsx --fix"
}
Now you can manually lint your code by running npm run lint
and fix all fixable issues with npm run lint:fix
. You probably want your editor to do this automagically, though.
FAQs
ESLint Config from Devin Metivier
The npm package eslint-config-devjmetivier receives a total of 1 weekly downloads. As such, eslint-config-devjmetivier popularity was classified as not popular.
We found that eslint-config-devjmetivier demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.