Skip to content

CoffeeAndCode/eslint-config-coffeeandcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared ESLint Configs for Coffee and Code

In order to keep eslint configurations synched between projects, we've moved our configurations to this repository. You can include it in your projects with npm install eslint eslint-config-coffeeandcode --save-dev.

Once installed, you can extend the following configurations:

coffeeandcode

The base configuration, it extends eslint:recommended.

coffeeandcode/node

This builds upon the base coffeeandcode configuration by adding the node environment. In a Node project, you would have a root .eslintrc.json file that includes the following:

{
  "extends": "coffeeandcode/node"
}

coffeeandcode/ci/node

This builds upon the coffeeandcode/node configuration by adding globals used by Mocha. In your project's test/ folder, you would create a .eslintrc.json file with the following:

{
  "extends": "coffeeandcode/ci/node"
}

About

Shared eslint configurations.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors