
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
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 various
types of modules we work on:
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.
To use the mongodb-js shareable config, first run:
npm install --save-dev eslint 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 3,908 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
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.