Skip to content

zestia/eslint-config

Repository files navigation

@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

About

ESLint config used across projects

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •