kibana/tasks
Joe Fleming 27b869ab04 Add eslint import resolution (#12025)
* 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
2017-06-09 11:19:31 -07:00
..
build Add force-local flag to tar archiving on windows (#11914) 2017-06-02 10:04:03 -05:00
config Use es6 exports, replace module.exports (#12084) 2017-06-06 10:11:59 -07:00
lib Remove use of npm ls in grunt tasks (#11965) 2017-05-24 08:34:55 -07:00
utils Add eslint import resolution (#12025) 2017-06-09 11:19:31 -07:00
check_added_filenames.js [filenames] allow rule-breaking in docs, tasks/config, and webpackShims 2016-03-11 16:42:19 -07:00
check_plugins.js Add checkPlugins task to check for plugins before running tests. (#8981) 2016-11-15 16:11:03 -08:00
collect_files_to_commit.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
eslint.js Upgrade eslint (#9357) 2016-12-12 13:44:18 -07:00
functional_test_runner.js [jenkins/ftr] bail on first functional test failure (#12111) 2017-05-31 14:18:58 -07:00
jenkins.js [jenkins/ftr] bail on first functional test failure (#12111) 2017-05-31 14:18:58 -07:00
licenses.js Remove use of npm ls in grunt tasks (#11965) 2017-05-24 08:34:55 -07:00
lint_staged_files.js [grunt/eslint] fix precommit linting (#9510) 2016-12-16 12:29:35 -07:00
plugin.js switch to eslint 2015-07-31 17:16:09 -07:00
precommit.js [eslint] reenable no-extra-semi and quotes rules (#9473) 2016-12-13 18:17:47 -07:00
reject_rej_files.js [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
release.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
release_packages.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
setup_kibana.js add travis config 2016-03-10 23:13:02 -07:00
sterilize.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
test.js Use es6 exports, replace module.exports (#12084) 2017-06-06 10:11:59 -07:00
test_jest.js [grunt/jest] fail task when jest fails (#12049) 2017-05-26 17:21:45 -07:00
ui_framework.js Update UI Framework build task to not compile source maps. (#11868) 2017-05-17 11:23:32 -07:00