Skip to content

IoraHealth/eslint-plugin-chirp-test-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-chirp-test-rules

Enforces best practices for ember mocha tests

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-chirp-test-rules:

$ npm install eslint-plugin-chirp-test-rules --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-chirp-test-rules globally.

Usage

Add chirp-test-rules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["chirp-test-rules"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "chirp-test-rules/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Automated Testing

CircleCI