Skip to content

transcovo/eslint-config-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-cp

The Chauffeur-Privé ESLint

Installation

npm install eslint-config-cp eslint eslint-plugin-import eslint-config-airbnb --save-dev

Set up a .eslintrc in your project

{
  "extends": "cp",
  "rules" : {
  }
}

Add it to your project's package.json

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

Run the linter

npm run lint