
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.
@mangoweb/eslint-config-ts
Advanced tools
@mangoweb/eslint-config-ts
ESLint configuration using Prettier designed for TS.
$ npm install @mangoweb/eslint-config-ts --save-dev
$ npm install @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier --save-dev
$ npm install @mangoweb/prettier-config --save-dev
⚠️ You might want to also fix the package version so that any potential future backwards incompatibilities don't break your build. This package is generally intended for live development with the occasional BC break. Should that affect your application because you failed to fix the version, that's on you.
.prettierrc.js
file in your project root:
module.exports = {
...require("@mangoweb/prettier-config"), // Or something else
// Add any project-specific overrides
// E.g. semi: false
}
.eslintrc.js
in your project root:
module.exports = {
extends: [
'@mangoweb/eslint-config-ts',
]
}
Optionally, also add these to your package.json
:
{
"scripts": {
"eslint:lint": "eslint \"src/**/*.{ts,tsx}\" ",
"eslint:fix": "eslint --fix \"src/**/*.{ts,tsx}\" "
}
}
That's it!
FAQs
ESLint configuration using Prettier designed for TS.
We found that @mangoweb/eslint-config-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.