
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.
eslint-config-mongodb-js
Advanced tools
Shareable configs are designed to work with the extends
feature
of .eslintrc
files. This allows us to easily extend from a base
configuration to provide the right rules for all of the extensive
range of environments we build modules for:
mongodb-js
mongodb-js/node
mongodb-js/browser
mongodb-js/shell
mongodb-js/react
You can learn more about Shareable Configs on the official ESLint website.
Our eslint-config is based on eslint-config-airbnb.
We make a best effort to explicitly call out any rules we differ from
eslint-config-airbnb will include a JSDoc
comment of @differ #{dang good reason}
.
To use the mongodb-js shareable config, first run:
npm install --save-dev eslint-config-mongodb-js
The barebones mongodb-js ./.eslintrc
file looks like:
{
"extends": "mongodb-js"
}
If your project runs primarily on the server, your ./.eslintrc
might look something like:
{
"extends": "mongodb-js/node"
}
If you're working on a UI project that uses browserify:
{
"extends": "mongodb-js/browser"
}
Apache 2.0
FAQs
eslint sharable configs for mongodb-js.
The npm package eslint-config-mongodb-js receives a total of 2,705 weekly downloads. As such, eslint-config-mongodb-js popularity was classified as popular.
We found that eslint-config-mongodb-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 38 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.