Skip to content

Commit 5a6a7a5

Browse files
authored
docs(readme): add a warning for eslint-plugin-i npm installation (#255)
1 parent 340054d commit 5a6a7a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ pnpm i -D eslint-plugin-import eslint-import-resolver-typescript
5858
yarn add -D eslint-plugin-import eslint-import-resolver-typescript
5959
```
6060

61+
**Important when using `eslint-plugin-i` and `npm`**: Use `npm i -D eslint-plugin-import@eslint-plugin-i@latest eslint-import-resolver-typescript`, or you will end up with both `eslint-plugin-import` and `eslint-plugin-i` in your node_modules.
62+
6163
## Configuration
6264

6365
Add the following to your `.eslintrc` config:

0 commit comments

Comments
 (0)