* add and configure eslint import plugins eslint-plugin-import and eslint-import-resolver-kibana * fix duplicate imports * fix named exports mostly fix the way exports works so the linter could resolve them, but fix a few incorrect imports as well * fix import/no-named-as-default-member issues * fix export name don't use named export name when consuming the default export * fix eslint namespace issue * remove unused install_or_update_repo file * fix metrics vis exporting * fix multi import * ignore resolution issues in console custom resolver seems unable to deal with amd modules correctly * ignore import issues in ui framework setup resolver is unable to deal with raw imports at the moment * add duplicates exception to select tests * add projectRoot override to core kibana plugin also bump @elastic/eslint-import-resolver-kibana, so the correct package.json file is used to resolve the root path * set kibanaPath required for the CI * fix one last module.exports in new code
8 lines
No EOL
158 B
Text
8 lines
No EOL
158 B
Text
---
|
|
extends: '@elastic/kibana'
|
|
|
|
settings:
|
|
import/resolver:
|
|
'@elastic/eslint-import-resolver-kibana':
|
|
rootPackageName: 'kibana'
|
|
kibanaPath: . |