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.
eslint-config-lionc
Advanced tools
Extendable ESLint config for modern, simple Javascript, Typescript and Node
Exhaustive extendable ESLint config for modern, clear and consistent Javascript, Typescript and Node.
To install, simply run
$ npm i --save-dev eslint-config-lionc
You also need a peer of eslint@>5
, so if you do not have that yet, run
$ npm i eslint
To apply the core Javascript config to your project, the simplest config is to create this .eslintrc.json
in your
project:
{
"extends": "lionc"
}
Then just run npx eslint your/source/folder/**/*.js
If you use Typescript, use lionc/typescript
instead, which takses care of setting the correct parser
and adds additional Typescript rules:
{
"extends": "lionc/typescript"
}
If your tsconfig.json
is not in the same folder as your .eslintrc.json
, you need to specify that
using parserOptions.project
:
{
"extends": "lionc/typescript",
"parserOptions": {
"project": "./path/to/your/tsconfig.json"
}
}
If you are using Node, use lionc/node
:
{
"extends": "lionc/node"
}
If you want to use Node and Typescript together, make sure to extend both in the following order:
{
"extends": [
"lionc/node",
"lionc/typescript"
]
}
FAQs
Extendable ESLint config for modern, simple Javascript, Typescript and Node
We found that eslint-config-lionc 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
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.