eslint-config-coursera v0.8.0
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-devNext, install eslint-plugin-coursera:
$ npm install eslint-plugin-coursera --save-devNote: 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
- coursera/webdriverio-no-xdescribe: Disallow xdescribe in webdriverio. Instead prefer ignoring tests via the ignore configuration in webdriverio configuration.
- coursera/webdriverio-only-single-describe: Only allow a single describe per spec. Good if your tests are run in a parallelized fashion.
- coursera/deprecate-require: Warn against requiring certain modules
- coursera/deprecate-module-property: Warn against using certain properties on certain modules
- coursera/no-lazy-build-loader: Disallow use of lazy build loader in production.
6 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago