
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@npmcli/eslint-config
Advanced tools
This module contains eslint rules used by the npm CLI team. All rules are
listed in index.js
at the root of this repo.
To facilitate having a single .eslintrc.js
that can live untouched in every
project, we prefer to use a default config like:
const { readdirSync: readdir } = require('fs')
const localConfigs = readdir(__dirname)
.filter((file) => file.startsWith('.eslintrc.local.'))
.map((file) => `./${file}`)
module.exports = {
extends: [
'@npmcli',
...localConfigs,
],
}
This allows any overrides for a project to exist in a separate file, typically
.eslintrc.local.json
.
bin
This module also contains a bin script that will run eslint
with the bundled config.
npm i -D @npmcli/eslint-config
# lint with our style rules
npx @npmcli/eslint-config -- # any args to eslint go here...`
FAQs
eslint config used by the npm cli team
The npm package @npmcli/eslint-config receives a total of 2,843 weekly downloads. As such, @npmcli/eslint-config popularity was classified as popular.
We found that @npmcli/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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.