Skip to content

uphold/eslint-config-uphold-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-uphold-react

Uphold-flavored React ESLint config. Extends eslint-config-uphold.

Installation

$ npm install eslint eslint-config-uphold-react --save-dev

Usage

Create an .eslintrc.yml file with the following:

extends: uphold-react

Add the following script to your package.json:

{
  "scripts": {
    "lint": "eslint ."
  }
}

and run the linter with:

$ npm run lint