[eslint-import-resolver] Add installation docs

This commit is contained in:
Spencer 2018-04-11 16:12:14 -07:00 committed by GitHub
parent 4f2a19bd9b
commit 22d70fcb22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,14 @@
Resolver for Kibana imports, meant to be used with [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import).
## Installation
To install this utility use `yarn` to link to the package from the Kibana project:
```sh
yarn add --dev link:../../kibana/packages/kbn-eslint-import-resolver-kibana
```
## Usage
Specify this resolver with the `import/resolver` setting in your eslint config file: