Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.44 KB

eslint-plugin-coursera

Rules used by Coursera developers that don't (yet) exist elsewhere. Feel free to open an issue if you consume this package and run into issues.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-coursera:

$ npm install eslint-plugin-coursera --save-dev

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

Usage

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

{
    "plugins": [
        "coursera"
    ]
}

Supported Rules