Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@limetech/eslint-config
Advanced tools
Reusable lint rules for use in other packages.
Install using npm:
npm i -D @limetech/eslint-config
Then put a file called .eslintrc.js
in your package root, with the following
content:
/* eslint-env node */
module.exports = {
extends: ['@limetech/eslint-config'],
};
Then either copy the file at node_modules/@limetech/eslint-config/.prettierrc
to your package root, or create a symlink called .prettierrc
in the package
root, pointing to node_modules/@limetech/eslint-config/.prettierrc
.
Finally, add a script for running eslint to your package.json
, for example:
{
…
"scripts": {
"lint": "eslint \"**/*.{ts,tsx,js}\" --max-warnings=0",
"lint:fix": "eslint \"**/*.{ts,tsx,js}\" --fix --max-warnings=0"
},
}
You can then use npm run lint
in your CI workflows, as it will fail on any
warnings or errors. On your own machine, you would typically run
npm run lint:fix
instead, to have eslint automatically fix as many of the
problems as possible, and only output warnings or errors for problems that
cannot be fixed automatically.
FAQs
Reusable lint rules for use in other packages.
We found that @limetech/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.