Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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
The npm package eslint-config-lionc receives a total of 2 weekly downloads. As such, eslint-config-lionc popularity was classified as not popular.
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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.