Skip to content

Commit 973542c

Browse files
committed
add installation instructions
1 parent c5fca76 commit 973542c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@ An ESLint plugin for projects that use Cypress.
44

55
Specifies the environment and globals (`cy`, `Cypress`, etc) for use when writing tests using [Cypress](https://cypress.io).
66

7+
## Installation
8+
9+
```sh
10+
npm install eslint-plugin-cypress --save-dev
11+
```
12+
713
## Usage
814

9-
```js
10-
// .eslintrc
15+
Add `cypress` as a plugin in your `.eslintrc`:
16+
17+
```json
1118
{
1219
"plugins": [
1320
"cypress"

0 commit comments

Comments
 (0)