Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miherlosev/eslint-plugin-testcafe
https://github.com/miherlosev/eslint-plugin-testcafe
eslint testcafe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/miherlosev/eslint-plugin-testcafe
- Owner: miherlosev
- License: mit
- Created: 2016-12-21T12:47:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-12T18:33:39.000Z (over 4 years ago)
- Last Synced: 2024-10-04T15:39:25.467Z (3 months ago)
- Topics: eslint, testcafe
- Language: JavaScript
- Size: 2.93 KB
- Stars: 15
- Watchers: 2
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-eslint - TestCafe globals - `fixture` & `test` globals for TestCafe. (Globals / Testing Tools)
README
# eslint-plugin-testcafe
ESLint rules for [testcafe](https://github.com/DevExpress/testcafe)
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```Next, install `eslint-plugin-testcafe`:
```
$ npm install eslint-plugin-testcafe --save-dev
```**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-testcafe` globally.
## Recommended configuration
This plugin export a recommended configuration that enforce good practices.
To enable this configuration use the extends property in your .eslintrc config file:
```
{
"plugins": [
"testcafe"
],
"extends": "plugin:testcafe/recommended"
}
```See [ESLint documentation](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending configuration files.