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.
@tangany/eslint-config
Advanced tools
Shareable config that is designed to work with the extends feature of .eslintrc files. Install the package via:
npm i -D @tangany/eslint-config@latest eslint-plugin-simple-import-sort eslint-plugin-import eslint-plugin-unused-imports
or
yarn add eslint @tangany/eslint-config@latest eslint-plugin-simple-import-sort eslint-plugin-import eslint-plugin-unused-imports -D
and add it as a dependency to your .eslintrc:
{
"extends": ["@tangany"]
}
Your file should look something like this:
.eslintrc.js
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
sourceType: "module",
},
plugins: ["@typescript-eslint/eslint-plugin"],
extends: [
"plugin:@typescript-eslint/recommended",
"@tangany/eslint-config"
],
env: {
node: true,
jest: true,
},
rules: {}
};
You can add a script to your package.json
to run the linter, including between the curly braces the folders you want to be linted (or remove the curly braces if it's only one folder):
"lint": "eslint \"{src,apps,libs,tests}/**/*.ts\" --fix",
V.0.3.18
V.0.3.17
© 2022 Tangany
FAQs
Tangany's ESLint config
The npm package @tangany/eslint-config receives a total of 485 weekly downloads. As such, @tangany/eslint-config popularity was classified as not popular.
We found that @tangany/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.