NES for ESLint 8.57.X

How to configure NES for ESLint

Installation

Follow these steps:

  1. Update your package.json.
  2. Create or update your .npmrc file.
  3. Install and run.

Detailed Instructions

Substitute the ESLint dependency in your package.json with the following

package.json
{
  "dependencies": {
    "eslint": "npm:@neverendingsupport/eslint@8.57.1-eslint-8.57.2"
  },
  "overrides": {
    "@eslint/js": { ".": "npm:@neverendingsupport/eslint-js@8.57.1-eslint-8.57.2" },
    "eslint": { ".": "npm:@neverendingsupport/eslint@8.57.1-eslint-8.57.2" }
  }
}

Create an .npmrc with the following

.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<nes-access-token>

Replace <nes-access-token> with your access token.

Install your dependencies

npm install

Now you can run your linting tasks with ESLint.

Additional Information

Direct Download URLs

Direct download URLs for ESLint are available below:

PackageURL
eslint
8.57.1-eslint-8.57.2
Download
eslint-js
8.57.1-eslint-8.57.2
Download