Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

madeintandem/eslint-config-devmynd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

eslint-config-devmynd

Installation

Add the package

yarn add --dev eslint-config-devmynd

Add its peerDependencies:

yarn add --dev eslint babel-eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard eslint-plugin-flowtype

Create a root level .eslintrc.json file with:

{
  "extends": [
    "devmynd"
  ]
}

Add the following to the scripts section of your package.json:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}