NES for ESLint 8.57.X
How to configure NES for ESLint
Installation
Review the Minimum Requirements before starting for a seamless installation.
Follow these steps:
- Update your
package.json
. - Create or update your
.npmrc
file. - 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: