![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.
@equisoft/eslint-config
Advanced tools
Equisoft's ESLint configuration. Based on eslint-config-airbnb-base
This project hosts Equisoft's ESLint configuration. It is versatile enough to be used with NodeJS or Web projects.
The rules of this ESLint configuration uses AirBnB's packages, with some small overrides to make up Equisoft's flavor.
For react, you should instead look at @equisoft/eslint-config-react which comes with additional validations.
The versioning of this project respects semver. That means your project's package.json can caret (^
) import it.
yarn add --dev eslint @microsoft/eslint-formatter-sarif eslint-import-resolver-node eslint-plugin-import yargs
Install the libraries in your project:
yarn add --dev @equisoft/eslint-config
Then create a .eslintrc.json file that uses Equisoft's configuration:
{
"extends": ["@equisoft/eslint-config"]
}
Finally, create a script in your package.json to easily run ESLint:
{
"scripts": {
"eslint": "eslint src",
"eslint:ci": "yarn eslint"
}
}
Now you can use yarn eslint
to validate the code style of your Javascript files!
We strongly suggest that you enforce code style checks on your CI. For example, on Github Actions you can add a configuration similar to this one to your workflow:
eslint:
name: ESLint
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup asdf-vm
uses: equisoft-actions/with-asdf-vm@v1
- name: Install NPM dependencies
uses: equisoft-actions/yarn-install@v1
- name: Run ESLint
uses: equisoft-actions/yarn-eslint@v2
ESLint supports exclusion of globs in .eslintignore. One way to gradually migrate a legacy code base to this configuration is to exclude all source files and add conforming files one at a time. To achieve this, add this to your .eslintignore:
src/**/*.js
!src/contacts/**/*.js
Note how an entry prefixed by !
is added to re-include some source files.
For more information on this technique, you can read the ESLint documentation.
FAQs
Equisoft's ESLint configuration. Based on eslint-config-airbnb-base
The npm package @equisoft/eslint-config receives a total of 6 weekly downloads. As such, @equisoft/eslint-config popularity was classified as not popular.
We found that @equisoft/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
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.