Skip to content

Commit 8ccdf73

Browse files
docs: update readme
1 parent c4a37ce commit 8ccdf73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@ yarn add -D eslint eslint-plugin-functional
7070
To use this plugin with TypeScript, a TypeScript parser for ESLint is needed.
7171
We recommend [@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser).
7272

73-
Additionally, some rules require [tsutils](https://www.npmjs.com/package/tsutils) as a dependency.
74-
7573
```sh
7674
# Install with npm
77-
npm install eslint @typescript-eslint/parser tsutils eslint-plugin-functional --save-dev
75+
npm install eslint @typescript-eslint/parser eslint-plugin-functional --save-dev
7876

7977
# Install with yarn
80-
yarn add -D eslint @typescript-eslint/parser tsutils eslint-plugin-functional
78+
yarn add -D eslint @typescript-eslint/parser eslint-plugin-functional
8179
```
8280

81+
[tsutils](https://www.npmjs.com/package/tsutils) is also recommended as a peer dependency but if you are using [@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin) then you don't need explicitly add it.
82+
8383
## Usage
8484

8585
Add `functional` to the plugins section of your `.eslintrc` configuration file. Then configure the rules you want to use under the rules section.

0 commit comments

Comments
 (0)