![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@moneytree/eslint-config
Advanced tools
ESLint configuration that covers both safety and code-style rules, as used by Moneytree.
In your project, install this configuration:
npm install --save-dev @moneytree/eslint-config
Choose a configuration to use in your project (or a folder somewhere inside your project). Available options:
javascript
: Base JavaScript configuration.nodejs
: Recommended base Node.js configuration.nodejs-bin
: Extends nodejs
to specialize for Node.js CLI scripts.nodejs-test
: Extends nodejs
to specialize for Node.js unit test scripts.Now refer to that configuration in your own ESLint configuration file, by extending from it:
YAML:
extends: "@moneytree/eslint-config/nodejs"
JSON:
{
"extends": "@moneytree/eslint-config/nodejs"
}
Replace "nodejs" by the configuration of your choice.
If you find that your project needs slightly different rules, or if you introduce this configuration into an existing project that may break too many rules, you can override the configuration. Especially in the latter case, we would suggest leaving the rule in place, but turning it into a warning instead, so that you can gradually update your code base and in the future turn that rule into an error again.
All rules are defined as a number or an array of which the first value is a number. That special first number is the level at which you want to apply the rule:
To change a rule, simply rewrite the rule in your own configuration file, and adjust the level as you wish.
Depending on additional libraries you use, like testing frameworks, there may be some very interesting ESLint plugins for your project that you may want to add to your configuration. Check them out over at Awesome ESLint.
We attempt to keep the rules compatible and complete with regards to the latest version of ESLint. Sometimes we will inevitably fall behind a little. If you want to know which versions of ESLint we cover, please refer to the version of the ESLint peer-dependency in package.json.
We try to be semver-ish in how we version this project. To create a version-bump commit, simply
run npm version patch
, npm version minor
or npm version major
.
patch should get bumped when:
minor should get bumped when:
eslint
peer-dependency's minimal version is raised (which is usually when rules are added).major should get bumped when:
MIT
FAQs
ESLint shared configuration for Moneytree projects
We found that @moneytree/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.