Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

ESLint shareable config for ZeroTurnaround JavaScript projects

License

Notifications You must be signed in to change notification settings

zeroturnaround/eslint-config-zt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroTurnaround's ESLint config Build Status

ESLint shareable config for ZeroTurnaround JavaScript projects.

Installation

$ npm install --save-dev eslint babel-eslint eslint-config-zt

Usage

// .eslintrc
{
  "extends": "zt/base",
  "rules": {
    // Additional, per-project rules...
  }
}

Projects with React

  1. Add additional dependency:
$ npm install --save-dev eslint-plugin-react
  1. Extend both zt/base and zt/react.