
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@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",
© 2022 Tangany
FAQs
Tangany's ESLint config
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.