0.4.0 • Published 7 years ago

eslint-import-resolver-kibana v0.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

eslint-import-resolver-kibana

Resolver for Kibana imports, meant to be used with eslint-plugin-import.

Usage

In your .eslintrc.(yml|json|js) file, add the following import/resolver under settings:

# .eslintrc.yml
settings:
  # uses 'eslint-import-resolver-kibana':
  import/resolver:
    - node
    - kibana

The node resolver isn't strictly required, but the resolving rules are unlikely to work as you expect if you don't include it in the list of resolvers. It's only included by default if you don't specify other resolvers.

The resolved assumed that the Kibana path exists at the same level as your plugin. If your Kibana path is somewhere else, you can specify it in the resolver settings, like so:

# .eslintrc.yml
settings:
  import/resolver:
    kibana: { kibanaPath: '/path/to/kibana' }

See the resolvers docs or the resolver spec for more details.

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago