Skip to content

Commit

Permalink
Suggested change to readme (#535)
Browse files Browse the repository at this point in the history
Took a while to hunt down why my config wasn't working and figured out that I needed to add this dependency only after reading through [#238](#238) and noticing [this line in a linked example](https://gist.github.com/ravasthi/abcfee465411fc45a8bc28decb9d8e5e#file-package-json-L24). I think adding this line may add some clarity and save time for several other webpack / eslint noobs (like me).
  • Loading branch information
Daniel Chang authored and benmosher committed Aug 30, 2016
1 parent 8da6a5a commit 2183977
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resolvers/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ Webpack-literate module resolution plugin for [`eslint-plugin-import`](https://w
Published separately to allow pegging to a specific version in case of breaking
changes.

To use with `eslint-plugin-import`, run:

```
npm i eslint-import-resolver-webpack -g
```

or if you manage ESLint as a dev dependency:

```
# inside your project's working tree
npm install eslint-import-resolver-webpack --save-dev
```

Will look for `webpack.config.js` as a sibling of the first ancestral `package.json`,
or a `config` parameter may be provided with another filename/path either relative to the
`package.json`, or a complete, absolute path.
Expand Down

0 comments on commit 2183977

Please sign in to comment.