Skip to content

eslint-config 7.0.2

Install from the command line:
Learn more about npm packages
$ npm install @zestia/eslint-config@7.0.2
Install via package.json:
"@zestia/eslint-config": "7.0.2"

About this version

@zestia/eslint-config

This package provides linting rules for JavaScript projects.

Installation

npm install --save-dev @zestia/eslint-config

Add the following to ~/.npmrc to pull @zestia scoped packages from Github instead of NPM.

@zestia:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<YOUR_GH_TOKEN>

Setup

  1. Create the following file eslint.config.mjs

    import js from '@eslint/js';
    import zestia from '@zestia/eslint-config';
    
    export default [js.configs.recommended, zestia];
  2. Add the following to scripts in package.json

    "lint:js": "eslint ."
    

Running

npm run lint:js

Related repos

Details


Assets

  • eslint-config-7.0.2.tgz

Download activity

  • Total downloads 57
  • Last 30 days 57
  • Last week 12
  • Today 1