Skip to content

A collection of custome eslint rules used in the console saas ES6 project

Notifications You must be signed in to change notification settings

consoleau/eslint-plugin-console-saas-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! DEPRECATED !!!

This repository has been moved to bitbucket at https://bitbucket.org/consoleau/eslint-plugin-console-saas-rules

eslint-plugin-console-saas-rules

A collection of eslint rules to check conventions used in the console saas web repo. Will cover a variety of ES6, Angular, and bespoke conecerns.

Usage

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

{
    "plugins": [
        "console-saas-rules"
    ]
}

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

{
    "rules": {
        "console-saas-rules/chai-expect-checker": "error"    }
}

Supported Rules

  • chai-expect-checker : verify that chai assertion methods are called as methods and chai assertion properties are called as properties

Development

Here are some relevant resources for figuring out how this works:

run tests

npm test.

About

A collection of custome eslint rules used in the console saas ES6 project

Resources

Stars

Watchers

Forks

Packages

No packages published