From 369bef316a669998e80782bba93625c084930001 Mon Sep 17 00:00:00 2001 From: Spencer Date: Thu, 28 Feb 2019 18:01:29 -0800 Subject: [PATCH] [eslint] require final newline (#32265) We have had `insert_final_newline = true` in our `.editorconfig` file since April 2015, but never validated it with eslint. I'm a little tired of extra changes showing up in PRs because some people use editors which respect the `.editorconfig` file and some don't, so I figured we might want to enable the rule in eslint so that the can be autofixed. Votes requested please :) --- packages/eslint-config-kibana/.eslintrc.js | 3 ++- src/fixtures/field_mapping.js | 2 +- src/fixtures/mapping_with_dupes.js | 2 +- src/fixtures/search_response.js | 2 +- .../core_plugins/console/api_server/es_6_0/query/index.js | 2 +- src/legacy/core_plugins/console/api_server/es_6_0/reindex.js | 2 +- src/legacy/core_plugins/console/api_server/spec/index.js | 2 +- .../public/src/autocomplete/components/conditional_proxy.js | 2 +- .../src/autocomplete/components/global_only_component.js | 2 +- .../autocomplete/components/index_autocomplete_component.js | 2 +- .../autocomplete/components/template_autocomplete_component.js | 2 +- .../autocomplete/components/username_autocomplete_component.js | 2 +- .../public/src/sense_editor/mode/script_highlight_rules.js | 2 +- .../console/public/src/sense_editor/mode/worker/index.js | 2 +- .../sections/index_patterns/index_pattern_table/index.js | 2 +- .../sections/settings/components/component_registry.js | 2 +- .../sections/settings/components/component_registry.test.js | 2 +- .../sections/settings/components/default_component_registry.js | 2 +- .../settings/components/default_component_registry.test.js | 2 +- .../sections/settings/components/page_footer/index.js | 2 +- .../sections/settings/components/page_footer/page_footer.js | 2 +- .../settings/components/page_footer/page_footer.test.js | 2 +- .../settings/components/page_subtitle/page_subtitle.js | 2 +- .../settings/components/page_subtitle/page_subtitle.test.js | 2 +- .../sections/settings/components/page_title/index.js | 2 +- .../sections/settings/components/page_title/page_title.js | 2 +- .../sections/settings/components/page_title/page_title.test.js | 2 +- .../metrics/public/components/lib/create_number_handler.js | 2 +- .../metrics/public/components/lib/create_text_handler.js | 2 +- .../core_plugins/metrics/public/components/lib/detect_ie.js | 2 +- .../core_plugins/metrics/public/components/splits/terms.js | 2 +- src/legacy/core_plugins/testbed/public/index.js | 2 +- .../core_plugins/timelion/server/fit_functions/nearest.js | 2 +- src/legacy/core_plugins/timelion/server/fit_functions/none.js | 2 +- src/legacy/core_plugins/timelion/server/lib/to_milliseconds.js | 2 +- src/legacy/server/index_patterns/service/lib/errors.test.js | 2 +- .../server/sample_data/data_sets/flights/field_mappings.js | 2 +- .../server/sample_data/routes/lib/create_index_name.test.js | 2 +- src/legacy/ui/public/notify/banners/index.js | 2 +- src/legacy/ui/public/persisted_log/create_log_key.test.js | 2 +- src/legacy/ui/public/vis/map/map_messages.js | 2 +- test/functional/services/visualizations/index.js | 2 +- .../server/lib/license_pre_routing_factory/index.js | 2 +- x-pack/plugins/grokdebugger/common/constants/index.js | 2 +- x-pack/plugins/grokdebugger/server/lib/check_license/index.js | 2 +- .../public/sections/components/index.js | 2 +- .../public/sections/components/learn_more_link.js | 2 +- .../public/sections/components/phase_error_message.js | 2 +- .../sections/edit_policy/components/node_allocation/index.js | 2 +- .../sections/edit_policy/components/set_priority_input.js | 2 +- .../sections/policy_table/components/policy_table/index.js | 2 +- .../index_lifecycle_management/public/services/index.js | 2 +- .../index_lifecycle_management/public/services/navigation.js | 2 +- .../public/store/defaults/cold_phase.js | 2 +- .../public/store/defaults/delete_phase.js | 2 +- .../public/store/defaults/hot_phase.js | 2 +- .../index_lifecycle_management/public/store/defaults/index.js | 2 +- .../public/store/defaults/warm_phase.js | 2 +- .../server/lib/error_wrappers/wrap_unknown_error.js | 2 +- .../index_management/__jest__/lib/flatten_object.test.js | 2 +- .../index_management/__mocks__/ui/documentation_links.js | 2 +- x-pack/plugins/index_management/__mocks__/ui/notify.js | 2 +- x-pack/plugins/index_management/index_management_data.js | 2 +- x-pack/plugins/index_management/public/lib/editSettings.js | 2 +- x-pack/plugins/index_management/public/lib/flatten_object.js | 2 +- x-pack/plugins/index_management/public/lib/render_badges.js | 2 +- .../components/detail_panel/edit_settings_json/index.js | 2 +- .../sections/index_list/components/detail_panel/index.js | 2 +- .../index_list/components/detail_panel/show_json/index.js | 2 +- .../index_list/components/detail_panel/summary/index.js | 2 +- x-pack/plugins/index_management/public/services/api.js | 2 +- .../index_management/public/store/actions/table_state.js | 2 +- .../index_management/public/store/reducers/detail_panel.js | 2 +- .../index_management/public/store/reducers/index_management.js | 2 +- .../server/routes/api/indices/register_flush_route.js | 2 +- .../server/routes/api/indices/register_forcemerge_route.js | 2 +- .../server/routes/api/indices/register_list_route.js | 2 +- .../server/routes/api/indices/register_refresh_route.js | 2 +- .../server/routes/api/indices/register_unfreeze_route.js | 2 +- .../index_management/server/routes/api/mapping/index.js | 2 +- .../server/routes/api/settings/register_update_route.js | 2 +- .../plugins/index_management/server/routes/api/stats/index.js | 2 +- .../server/routes/api/stats/register_stats_route.js | 2 +- .../plugins/license_management/__jest__/api_responses/index.js | 2 +- .../license_management/__jest__/telemetry_opt_in.test.js | 2 +- x-pack/plugins/license_management/__jest__/util/index.js | 2 +- x-pack/plugins/license_management/public/app.js | 2 +- .../public/components/telemetry_opt_in/index.js | 2 +- x-pack/plugins/license_management/public/index.js | 2 +- .../public/sections/license_dashboard/start_trial/index.js | 2 +- .../license_management/public/store/reducers/trial_status.js | 2 +- .../logstash/public/lib/update_management_sections/index.js | 2 +- .../fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js | 2 +- x-pack/plugins/logstash/server/routes/api/pipelines/index.js | 2 +- .../components/layer_panel/style_tabs/resources/style_tab.js | 2 +- x-pack/plugins/maps/public/index.js | 2 +- x-pack/plugins/maps/public/shared/utils/color_utils.js | 2 +- .../plugins/maps/server/maps_telemetry/maps_telemetry.test.js | 2 +- .../plugins/maps/server/maps_telemetry/maps_usage_collector.js | 2 +- .../maps/server/maps_telemetry/maps_usage_collector.test.js | 2 +- .../plugins/maps/server/maps_telemetry/telemetry_task.test.js | 2 +- x-pack/plugins/maps/server/test_utils/index.js | 2 +- x-pack/plugins/ml/public/components/chart_tooltip/index.js | 2 +- x-pack/plugins/ml/public/components/field_title_bar/index.js | 2 +- x-pack/plugins/ml/public/components/form_label/index.js | 2 +- x-pack/plugins/ml/public/components/job_group_select/index.js | 2 +- x-pack/plugins/ml/public/components/job_select_list/index.js | 2 +- .../new_job/simple/components/bucket_span_selection/index.js | 2 +- .../jobs/new_job/simple/components/event_rate_chart/index.js | 2 +- .../jobs/new_job/simple/components/fields_selection/index.js | 2 +- .../new_job/simple/components/general_job_details/index.js | 2 +- x-pack/plugins/ml/public/settings/filter_lists/edit/index.js | 2 +- x-pack/plugins/ml/public/settings/filter_lists/index.js | 2 +- .../timeseriesexplorer/components/forecasting_modal/index.js | 2 +- .../components/elasticsearch/shard_allocation/lib/vents.js | 2 +- .../logstash/pipeline_viewer/models/__tests__/config.js | 2 +- .../pipeline_viewer/models/__tests__/pipeline_state.js | 2 +- .../pipeline_viewer/models/graph/__tests__/boolean_edge.js | 2 +- .../logstash/pipeline_viewer/models/graph/__tests__/edge.js | 2 +- .../pipeline_viewer/models/graph/__tests__/edge_factory.js | 2 +- .../pipeline_viewer/models/graph/__tests__/if_vertex.js | 2 +- .../pipeline_viewer/models/graph/__tests__/queue_vertex.js | 2 +- .../pipeline_viewer/models/graph/__tests__/vertex_factory.js | 2 +- .../logstash/pipeline_viewer/models/graph/edge_factory.js | 2 +- .../logstash/pipeline_viewer/models/graph/vertex_factory.js | 2 +- .../plugins/monitoring/server/lib/beats/create_beats_query.js | 2 +- .../server/lib/license_pre_routing_factory/index.js | 2 +- .../printable_pdf/server/create_job/compatibility_shim.js | 2 +- x-pack/plugins/reporting/server/browsers/extract/extract.js | 2 +- .../crud_app/sections/components/job_details/tabs/tab_json.js | 2 +- .../rollup/server/lib/license_pre_routing_factory/index.js | 2 +- x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js | 2 +- .../plugins/searchprofiler/public/templates/default_query.js | 2 +- x-pack/plugins/searchprofiler/server/routes/profile.js | 2 +- x-pack/plugins/security/common/constants.js | 2 +- x-pack/plugins/watcher/common/constants/lists.js | 2 +- x-pack/plugins/watcher/common/constants/plugin.js | 2 +- x-pack/plugins/watcher/common/constants/routes.js | 2 +- x-pack/plugins/watcher/common/constants/watch_history.js | 2 +- .../watcher/public/components/chart_tooltip/chart_tooltip.js | 2 +- .../plugins/watcher/public/components/chart_tooltip/index.js | 2 +- x-pack/plugins/watcher/public/components/flot_chart/index.js | 2 +- .../watcher/public/components/threshold_preview_chart/index.js | 2 +- .../plugins/watcher/public/models/watch_history_item/index.js | 2 +- .../components/watch_history_range_filter/index.js | 2 +- x-pack/plugins/watcher/public/services/license/index.js | 2 +- x-pack/plugins/watcher/public/services/watches/index.js | 2 +- .../plugins/watcher/server/lib/check_license/check_license.js | 2 +- x-pack/plugins/watcher/server/lib/check_license/index.js | 2 +- .../watcher/server/lib/error_wrappers/wrap_unknown_error.js | 2 +- .../fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js | 2 +- x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js | 2 +- .../server/lib/is_es_error_factory/is_es_error_factory.js | 2 +- .../watcher/server/lib/license_pre_routing_factory/index.js | 2 +- .../watcher/server/lib/register_license_checker/index.js | 2 +- .../lib/register_license_checker/register_license_checker.js | 2 +- .../watcher/server/models/watch_errors/watch_errors.test.js | 2 +- .../server/routes/api/watch/action/register_action_routes.js | 2 +- .../watcher/server/routes/api/watch/register_delete_route.js | 2 +- .../server/routes/api/watches/register_watches_routes.js | 2 +- x-pack/plugins/xpack_main/public/components/index.js | 2 +- .../components/telemetry/opt_in_details_component.test.js | 2 +- .../xpack_main/public/components/telemetry/telemetry_form.js | 2 +- .../public/components/telemetry/telemetry_form.test.js | 2 +- .../public/hacks/welcome_banner/__tests__/click_banner.js | 2 +- .../hacks/welcome_banner/__tests__/should_show_banner.js | 2 +- x-pack/plugins/xpack_main/public/hacks/welcome_banner/index.js | 2 +- .../xpack_main/public/services/telemetry_opt_in.test.js | 2 +- x-pack/server/lib/__tests__/kibana_state.js | 2 +- x-pack/server/lib/check_license/index.js | 2 +- .../lib/create_router/error_wrappers/wrap_unknown_error.js | 2 +- x-pack/server/lib/create_router/is_es_error_factory/index.js | 2 +- .../create_router/is_es_error_factory/is_es_error_factory.js | 2 +- .../lib/create_router/license_pre_routing_factory/index.js | 2 +- x-pack/server/lib/parse_kibana_state.js | 2 +- x-pack/server/lib/register_license_checker/index.js | 2 +- x-pack/tasks/test.js | 2 +- x-pack/test/api_integration/services/index.js | 2 +- 178 files changed, 179 insertions(+), 178 deletions(-) diff --git a/packages/eslint-config-kibana/.eslintrc.js b/packages/eslint-config-kibana/.eslintrc.js index 146f3df763dd..5b72ce417200 100644 --- a/packages/eslint-config-kibana/.eslintrc.js +++ b/packages/eslint-config-kibana/.eslintrc.js @@ -100,6 +100,7 @@ module.exports = { strict: [ 'error', 'never' ], 'valid-typeof': 'error', 'wrap-iife': [ 'error', 'outside' ], + 'eol-last': ['error', 'always'], yoda: 'off', 'object-curly-spacing': 'off', // overridden with babel/object-curly-spacing @@ -150,7 +151,7 @@ module.exports = { 'jsx-a11y/role-supports-aria-props': 'error', 'jsx-a11y/scope': 'error', 'jsx-a11y/tabindex-no-positive': 'error', - 'jsx-a11y/label-has-associated-control': 'error', + 'jsx-a11y/label-has-associated-control': 'error', 'react/jsx-equals-spacing': ['error', 'never'], 'react/jsx-indent': ['error', 2], 'react/no-will-update-set-state': 'error', diff --git a/src/fixtures/field_mapping.js b/src/fixtures/field_mapping.js index 0f389c6057b1..08fcb53a0a86 100644 --- a/src/fixtures/field_mapping.js +++ b/src/fixtures/field_mapping.js @@ -76,4 +76,4 @@ export default { } } } -}; \ No newline at end of file +}; diff --git a/src/fixtures/mapping_with_dupes.js b/src/fixtures/mapping_with_dupes.js index 79e544a0ccc6..692c6c6f35ad 100644 --- a/src/fixtures/mapping_with_dupes.js +++ b/src/fixtures/mapping_with_dupes.js @@ -54,4 +54,4 @@ export default { } } } -}; \ No newline at end of file +}; diff --git a/src/fixtures/search_response.js b/src/fixtures/search_response.js index 1159f8ccffbf..a4dd51fd95a5 100644 --- a/src/fixtures/search_response.js +++ b/src/fixtures/search_response.js @@ -32,4 +32,4 @@ export default { max_score: 1.0, hits: hits } -}; \ No newline at end of file +}; diff --git a/src/legacy/core_plugins/console/api_server/es_6_0/query/index.js b/src/legacy/core_plugins/console/api_server/es_6_0/query/index.js index 8366478afe1a..cf5306ce925b 100644 --- a/src/legacy/core_plugins/console/api_server/es_6_0/query/index.js +++ b/src/legacy/core_plugins/console/api_server/es_6_0/query/index.js @@ -17,4 +17,4 @@ * under the License. */ -export { queryDsl as default } from './dsl'; \ No newline at end of file +export { queryDsl as default } from './dsl'; diff --git a/src/legacy/core_plugins/console/api_server/es_6_0/reindex.js b/src/legacy/core_plugins/console/api_server/es_6_0/reindex.js index 618c1f4dcaf0..b7bd2c0608b6 100644 --- a/src/legacy/core_plugins/console/api_server/es_6_0/reindex.js +++ b/src/legacy/core_plugins/console/api_server/es_6_0/reindex.js @@ -65,4 +65,4 @@ export default function (api) { 'script': { __scope_link: 'GLOBAL.script' }, } }); -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/api_server/spec/index.js b/src/legacy/core_plugins/console/api_server/spec/index.js index 84607e18fe67..601c5e6153e2 100644 --- a/src/legacy/core_plugins/console/api_server/spec/index.js +++ b/src/legacy/core_plugins/console/api_server/spec/index.js @@ -56,4 +56,4 @@ export function getSpec() { export function addExtensionSpecFilePath(extensionSpecFilePath) { extensionSpecFilePaths.push(extensionSpecFilePath); -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/autocomplete/components/conditional_proxy.js b/src/legacy/core_plugins/console/public/src/autocomplete/components/conditional_proxy.js index 9ee233d54c20..04dc46b6dc27 100644 --- a/src/legacy/core_plugins/console/public/src/autocomplete/components/conditional_proxy.js +++ b/src/legacy/core_plugins/console/public/src/autocomplete/components/conditional_proxy.js @@ -40,4 +40,4 @@ export class ConditionalProxy extends SharedComponent { return false; } } -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/autocomplete/components/global_only_component.js b/src/legacy/core_plugins/console/public/src/autocomplete/components/global_only_component.js index ee50e3634cc6..6ac7da79a7a8 100644 --- a/src/legacy/core_plugins/console/public/src/autocomplete/components/global_only_component.js +++ b/src/legacy/core_plugins/console/public/src/autocomplete/components/global_only_component.js @@ -43,4 +43,4 @@ export class GlobalOnlyComponent extends SharedComponent { return result; } -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/autocomplete/components/index_autocomplete_component.js b/src/legacy/core_plugins/console/public/src/autocomplete/components/index_autocomplete_component.js index ec1cfc60f906..33e27852caff 100644 --- a/src/legacy/core_plugins/console/public/src/autocomplete/components/index_autocomplete_component.js +++ b/src/legacy/core_plugins/console/public/src/autocomplete/components/index_autocomplete_component.js @@ -40,4 +40,4 @@ export class IndexAutocompleteComponent extends ListComponent { getContextKey() { return 'indices'; } -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/autocomplete/components/template_autocomplete_component.js b/src/legacy/core_plugins/console/public/src/autocomplete/components/template_autocomplete_component.js index 41ffaa504747..e6cae3f1710b 100644 --- a/src/legacy/core_plugins/console/public/src/autocomplete/components/template_autocomplete_component.js +++ b/src/legacy/core_plugins/console/public/src/autocomplete/components/template_autocomplete_component.js @@ -26,4 +26,4 @@ export class TemplateAutocompleteComponent extends ListComponent { getContextKey() { return 'template'; } -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/autocomplete/components/username_autocomplete_component.js b/src/legacy/core_plugins/console/public/src/autocomplete/components/username_autocomplete_component.js index fa973b87f119..da3c63b69c61 100644 --- a/src/legacy/core_plugins/console/public/src/autocomplete/components/username_autocomplete_component.js +++ b/src/legacy/core_plugins/console/public/src/autocomplete/components/username_autocomplete_component.js @@ -40,4 +40,4 @@ export class UsernameAutocompleteComponent extends ListComponent { getContextKey() { return 'username'; } -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/console/public/src/sense_editor/mode/script_highlight_rules.js b/src/legacy/core_plugins/console/public/src/sense_editor/mode/script_highlight_rules.js index 93f5d48c0fa6..997a23d144ac 100644 --- a/src/legacy/core_plugins/console/public/src/sense_editor/mode/script_highlight_rules.js +++ b/src/legacy/core_plugins/console/public/src/sense_editor/mode/script_highlight_rules.js @@ -82,4 +82,4 @@ export function ScriptHighlightRules() { }; } -oop.inherits(ScriptHighlightRules, TextHighlightRules); \ No newline at end of file +oop.inherits(ScriptHighlightRules, TextHighlightRules); diff --git a/src/legacy/core_plugins/console/public/src/sense_editor/mode/worker/index.js b/src/legacy/core_plugins/console/public/src/sense_editor/mode/worker/index.js index c31708aaec63..010d32fb0c86 100644 --- a/src/legacy/core_plugins/console/public/src/sense_editor/mode/worker/index.js +++ b/src/legacy/core_plugins/console/public/src/sense_editor/mode/worker/index.js @@ -20,4 +20,4 @@ export const workerModule = { id: 'sense_editor/mode/worker', src: require('!!raw-loader!./worker.js') -}; \ No newline at end of file +}; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js index 5d6370e04883..cd258eb03391 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js @@ -17,4 +17,4 @@ * under the License. */ -export { IndexPatternTable } from './index_pattern_table'; \ No newline at end of file +export { IndexPatternTable } from './index_pattern_table'; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.js index fb901620abad..4b81b74d20aa 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.js @@ -70,4 +70,4 @@ export function getSettingsComponent(id) { throw new Error(`Component not found with id ${id}`); } return registry[id]; -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.test.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.test.js index 2c1c7ff17254..076d02f2fab8 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.test.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/component_registry.test.js @@ -86,4 +86,4 @@ describe('getSettingsComponent', () => { it('should throw an error when requesting a component that does not exist', () => { expect(() => getSettingsComponent('does not exist')).toThrowErrorMatchingSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.js index 41979d4bd66a..80b2f2e79b9c 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.js @@ -30,4 +30,4 @@ export function registerDefaultComponents() { tryRegisterSettingsComponent(PAGE_TITLE_COMPONENT, PageTitle); tryRegisterSettingsComponent(PAGE_SUBTITLE_COMPONENT, PageSubtitle); tryRegisterSettingsComponent(PAGE_FOOTER_COMPONENT, PageFooter); -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.test.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.test.js index 2c5b3c9b4661..4fc6dc710f86 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.test.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/default_component_registry.test.js @@ -40,4 +40,4 @@ describe('default_component_registry', () => { expect(getSettingsComponent(PAGE_TITLE_COMPONENT)).toEqual(newComponent); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/index.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/index.js index 2fae89ceb038..762f61984d0a 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/index.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/index.js @@ -17,4 +17,4 @@ * under the License. */ -export { PageFooter } from './page_footer'; \ No newline at end of file +export { PageFooter } from './page_footer'; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.js index e55fbbae3b5f..5c769c5d51e5 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.js @@ -17,4 +17,4 @@ * under the License. */ -export const PageFooter = () => null; \ No newline at end of file +export const PageFooter = () => null; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.test.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.test.js index 1f8af7f0d6e9..eb561517d61b 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.test.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_footer/page_footer.test.js @@ -25,4 +25,4 @@ describe('PageFooter', () => { it('should render normally', () => { expect(shallowWithIntl()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.js index 35485fdc7b49..1b688d7f2030 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.js @@ -17,4 +17,4 @@ * under the License. */ -export const PageSubtitle = () => null; \ No newline at end of file +export const PageSubtitle = () => null; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.test.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.test.js index cb1e785ac304..999d6a2143f4 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.test.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_subtitle/page_subtitle.test.js @@ -25,4 +25,4 @@ describe('PageSubtitle', () => { it('should render normally', () => { expect(shallowWithIntl()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/index.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/index.js index f5553eb971ac..1afa42277294 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/index.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/index.js @@ -17,4 +17,4 @@ * under the License. */ -export { PageTitle } from './page_title'; \ No newline at end of file +export { PageTitle } from './page_title'; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.js index 48407faea8cb..fb73154159c9 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.js @@ -34,4 +34,4 @@ export const PageTitle = () => { ); -}; \ No newline at end of file +}; diff --git a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.test.js b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.test.js index 16fa30cd90c0..261f892c22f4 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.test.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/settings/components/page_title/page_title.test.js @@ -25,4 +25,4 @@ describe('PageTitle', () => { it('should render normally', () => { expect(shallowWithIntl()).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/core_plugins/metrics/public/components/lib/create_number_handler.js b/src/legacy/core_plugins/metrics/public/components/lib/create_number_handler.js index 361fe488ecba..e023f5d01494 100644 --- a/src/legacy/core_plugins/metrics/public/components/lib/create_number_handler.js +++ b/src/legacy/core_plugins/metrics/public/components/lib/create_number_handler.js @@ -28,4 +28,4 @@ export default (handleChange) => { return handleChange({ [name]: value }); } }; -}; \ No newline at end of file +}; diff --git a/src/legacy/core_plugins/metrics/public/components/lib/create_text_handler.js b/src/legacy/core_plugins/metrics/public/components/lib/create_text_handler.js index 542479cbe877..ca2711da9fd8 100644 --- a/src/legacy/core_plugins/metrics/public/components/lib/create_text_handler.js +++ b/src/legacy/core_plugins/metrics/public/components/lib/create_text_handler.js @@ -30,4 +30,4 @@ export default (handleChange) => { return handleChange({ [name]: value }); } }; -}; \ No newline at end of file +}; diff --git a/src/legacy/core_plugins/metrics/public/components/lib/detect_ie.js b/src/legacy/core_plugins/metrics/public/components/lib/detect_ie.js index a0a7d2b72962..e1ac8747bc8c 100644 --- a/src/legacy/core_plugins/metrics/public/components/lib/detect_ie.js +++ b/src/legacy/core_plugins/metrics/public/components/lib/detect_ie.js @@ -41,4 +41,4 @@ export function detectIE() { // other browser return false; -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/metrics/public/components/splits/terms.js b/src/legacy/core_plugins/metrics/public/components/splits/terms.js index 2e50031635f1..5ca25ba77584 100644 --- a/src/legacy/core_plugins/metrics/public/components/splits/terms.js +++ b/src/legacy/core_plugins/metrics/public/components/splits/terms.js @@ -158,4 +158,4 @@ SplitByTermsUi.propTypes = { fields: PropTypes.object }; -export const SplitByTerms = injectI18n(SplitByTermsUi); \ No newline at end of file +export const SplitByTerms = injectI18n(SplitByTermsUi); diff --git a/src/legacy/core_plugins/testbed/public/index.js b/src/legacy/core_plugins/testbed/public/index.js index 94c927496ad1..c6687de249cf 100644 --- a/src/legacy/core_plugins/testbed/public/index.js +++ b/src/legacy/core_plugins/testbed/public/index.js @@ -17,4 +17,4 @@ * under the License. */ -import './testbed'; \ No newline at end of file +import './testbed'; diff --git a/src/legacy/core_plugins/timelion/server/fit_functions/nearest.js b/src/legacy/core_plugins/timelion/server/fit_functions/nearest.js index db3a675dde71..feacbb02ce19 100644 --- a/src/legacy/core_plugins/timelion/server/fit_functions/nearest.js +++ b/src/legacy/core_plugins/timelion/server/fit_functions/nearest.js @@ -43,4 +43,4 @@ export default function nearest(dataTuples, targetTuples) { return [bucket[0], closest[1]]; }); -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/timelion/server/fit_functions/none.js b/src/legacy/core_plugins/timelion/server/fit_functions/none.js index 87b0df2b0f49..e46d9f44a96b 100644 --- a/src/legacy/core_plugins/timelion/server/fit_functions/none.js +++ b/src/legacy/core_plugins/timelion/server/fit_functions/none.js @@ -23,4 +23,4 @@ // Does not resample at all. export default function none(dataTuples) { return dataTuples; -} \ No newline at end of file +} diff --git a/src/legacy/core_plugins/timelion/server/lib/to_milliseconds.js b/src/legacy/core_plugins/timelion/server/lib/to_milliseconds.js index 394ee5c4dd31..2dd5cad4cad8 100644 --- a/src/legacy/core_plugins/timelion/server/lib/to_milliseconds.js +++ b/src/legacy/core_plugins/timelion/server/lib/to_milliseconds.js @@ -51,4 +51,4 @@ export default function (expr) { return parseFloat(match[1] || 1) * vals[match[2]]; } -} \ No newline at end of file +} diff --git a/src/legacy/server/index_patterns/service/lib/errors.test.js b/src/legacy/server/index_patterns/service/lib/errors.test.js index 41a1e7ea078e..1abcded9d60b 100644 --- a/src/legacy/server/index_patterns/service/lib/errors.test.js +++ b/src/legacy/server/index_patterns/service/lib/errors.test.js @@ -20,4 +20,4 @@ test('test', () => { // errors module is tested in test/api_integration/apis/index_patterns/es_errors/errors.js // so it can get real errors from elasticsearch and the es client to test with -}); \ No newline at end of file +}); diff --git a/src/legacy/server/sample_data/data_sets/flights/field_mappings.js b/src/legacy/server/sample_data/data_sets/flights/field_mappings.js index 41680466643b..502ca9944dc8 100644 --- a/src/legacy/server/sample_data/data_sets/flights/field_mappings.js +++ b/src/legacy/server/sample_data/data_sets/flights/field_mappings.js @@ -102,4 +102,4 @@ export const fieldMappings = { FlightTimeHour: { type: 'keyword' } -}; \ No newline at end of file +}; diff --git a/src/legacy/server/sample_data/routes/lib/create_index_name.test.js b/src/legacy/server/sample_data/routes/lib/create_index_name.test.js index f0a3bf6cd598..5f8b29fabdd7 100644 --- a/src/legacy/server/sample_data/routes/lib/create_index_name.test.js +++ b/src/legacy/server/sample_data/routes/lib/create_index_name.test.js @@ -25,4 +25,4 @@ test('should include sampleDataSetId and dataIndexId in elasticsearch index name test('should only include sampleDataSetId when sampleDataSetId and dataIndexId are identical', async () => { expect(createIndexName('flights', 'flights')).toBe('kibana_sample_data_flights'); -}); \ No newline at end of file +}); diff --git a/src/legacy/ui/public/notify/banners/index.js b/src/legacy/ui/public/notify/banners/index.js index b4d2a11f6100..ad2fcd650e5c 100644 --- a/src/legacy/ui/public/notify/banners/index.js +++ b/src/legacy/ui/public/notify/banners/index.js @@ -18,4 +18,4 @@ */ export { GlobalBannerList } from './global_banner_list'; -export { banners } from './banners'; \ No newline at end of file +export { banners } from './banners'; diff --git a/src/legacy/ui/public/persisted_log/create_log_key.test.js b/src/legacy/ui/public/persisted_log/create_log_key.test.js index 3f7f69a5271e..20559adbd4c9 100644 --- a/src/legacy/ui/public/persisted_log/create_log_key.test.js +++ b/src/legacy/ui/public/persisted_log/create_log_key.test.js @@ -32,4 +32,4 @@ describe('createLogKey', () => { it('should not include a hashed suffix if the identifier is not present', () => { expect(createLogKey('foo')).toEqual('kibana.history.foo'); }); -}); \ No newline at end of file +}); diff --git a/src/legacy/ui/public/vis/map/map_messages.js b/src/legacy/ui/public/vis/map/map_messages.js index 6139aebcfab9..7571547ecf0d 100644 --- a/src/legacy/ui/public/vis/map/map_messages.js +++ b/src/legacy/ui/public/vis/map/map_messages.js @@ -120,4 +120,4 @@ export const createZoomWarningMsg = (function () { } }; }; -}()); \ No newline at end of file +}()); diff --git a/test/functional/services/visualizations/index.js b/test/functional/services/visualizations/index.js index 26f08bc3b099..1cc9d40abeab 100644 --- a/test/functional/services/visualizations/index.js +++ b/test/functional/services/visualizations/index.js @@ -17,4 +17,4 @@ * under the License. */ -export { PieChartProvider } from './pie_chart'; \ No newline at end of file +export { PieChartProvider } from './pie_chart'; diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js b/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js index a6903bcf11a7..0743e443955f 100644 --- a/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js +++ b/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { licensePreRoutingFactory } from './license_pre_routing_factory'; \ No newline at end of file +export { licensePreRoutingFactory } from './license_pre_routing_factory'; diff --git a/x-pack/plugins/grokdebugger/common/constants/index.js b/x-pack/plugins/grokdebugger/common/constants/index.js index c37101b73078..12e440d7ed85 100644 --- a/x-pack/plugins/grokdebugger/common/constants/index.js +++ b/x-pack/plugins/grokdebugger/common/constants/index.js @@ -6,4 +6,4 @@ export { ROUTES } from './routes'; export { PLUGIN } from './plugin'; -export { EDITOR } from './editor'; \ No newline at end of file +export { EDITOR } from './editor'; diff --git a/x-pack/plugins/grokdebugger/server/lib/check_license/index.js b/x-pack/plugins/grokdebugger/server/lib/check_license/index.js index a6c7fae3e1ad..f2c070fd44b6 100644 --- a/x-pack/plugins/grokdebugger/server/lib/check_license/index.js +++ b/x-pack/plugins/grokdebugger/server/lib/check_license/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { checkLicense } from './check_license'; \ No newline at end of file +export { checkLicense } from './check_license'; diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/index.js b/x-pack/plugins/index_lifecycle_management/public/sections/components/index.js index e87d7b34b8f6..a2ae37780b9f 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/components/index.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/components/index.js @@ -7,4 +7,4 @@ export { ActiveBadge } from './active_badge'; export { LearnMoreLink } from './learn_more_link'; export { PhaseErrorMessage } from './phase_error_message'; -export { OptionalLabel } from './optional_label'; \ No newline at end of file +export { OptionalLabel } from './optional_label'; diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js b/x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js index 38192f639107..420ca972c222 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js @@ -34,4 +34,4 @@ export class LearnMoreLinkUi extends React.PureComponent { } } -export const LearnMoreLink = injectI18n(LearnMoreLinkUi); \ No newline at end of file +export const LearnMoreLink = injectI18n(LearnMoreLinkUi); diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js b/x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js index 4c284494c17f..c5fd0984ca6f 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js @@ -15,4 +15,4 @@ export const PhaseErrorMessage = ({ isShowingErrors }) => { /> ) : null; -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js b/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js index dcf6a0787755..9138c6a30cfa 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { NodeAllocation } from './node_allocation.container'; \ No newline at end of file +export { NodeAllocation } from './node_allocation.container'; diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js b/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js index e5ff82c56d8d..af6534817195 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js @@ -67,4 +67,4 @@ export const SetPriorityInput = props => { ); -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js b/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js index 1e10c49443ce..81bdb065ef4a 100644 --- a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js +++ b/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { PolicyTable } from './policy_table.container'; \ No newline at end of file +export { PolicyTable } from './policy_table.container'; diff --git a/x-pack/plugins/index_lifecycle_management/public/services/index.js b/x-pack/plugins/index_lifecycle_management/public/services/index.js index 86f51d8b4a4c..a82b581309d2 100644 --- a/x-pack/plugins/index_lifecycle_management/public/services/index.js +++ b/x-pack/plugins/index_lifecycle_management/public/services/index.js @@ -5,4 +5,4 @@ */ export { filterItems } from './filter_items'; -export { sortTable } from './sort_table'; \ No newline at end of file +export { sortTable } from './sort_table'; diff --git a/x-pack/plugins/index_lifecycle_management/public/services/navigation.js b/x-pack/plugins/index_lifecycle_management/public/services/navigation.js index 655d9cf6608f..7a396b740ec0 100644 --- a/x-pack/plugins/index_lifecycle_management/public/services/navigation.js +++ b/x-pack/plugins/index_lifecycle_management/public/services/navigation.js @@ -20,4 +20,4 @@ export const goToPolicyList = () => { export const getPolicyPath = (policyName) => { return encodeURI(`#${BASE_PATH}policies/edit/${encodeURIComponent(policyName)}`); -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js b/x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js index 42cf3070caa3..0a4f4e2206d6 100644 --- a/x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js +++ b/x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js @@ -27,4 +27,4 @@ export const defaultColdPhase = { export const defaultEmptyColdPhase = { ...defaultColdPhase, [PHASE_INDEX_PRIORITY]: '' -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js b/x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js index 9965b4e2b7fa..c449ba073fd2 100644 --- a/x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js +++ b/x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js @@ -18,4 +18,4 @@ export const defaultDeletePhase = { [PHASE_ROLLOVER_MINIMUM_AGE]: '', [PHASE_ROLLOVER_MINIMUM_AGE_UNITS]: 'd' }; -export const defaultEmptyDeletePhase = defaultDeletePhase; \ No newline at end of file +export const defaultEmptyDeletePhase = defaultDeletePhase; diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js b/x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js index 8f20022cafdb..43ffc1b565e5 100644 --- a/x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js +++ b/x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js @@ -32,4 +32,4 @@ export const defaultEmptyHotPhase = { [PHASE_ROLLOVER_MAX_SIZE_STORED]: '', [PHASE_INDEX_PRIORITY]: '', [PHASE_ROLLOVER_MAX_DOCUMENTS]: '' -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js b/x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js index 798cfab394cb..f5661eae91a8 100644 --- a/x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js +++ b/x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js @@ -7,4 +7,4 @@ export * from './delete_phase'; export * from './cold_phase'; export * from './hot_phase'; -export * from './warm_phase'; \ No newline at end of file +export * from './warm_phase'; diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js b/x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js index f3979fe24301..8e55b5c72c4f 100644 --- a/x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js +++ b/x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js @@ -36,4 +36,4 @@ export const defaultEmptyWarmPhase = { ...defaultWarmPhase, [WARM_PHASE_ON_ROLLOVER]: false, [PHASE_INDEX_PRIORITY]: '' -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js index 4b865880ae20..ffd915c51336 100644 --- a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js +++ b/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js @@ -14,4 +14,4 @@ import Boom from 'boom'; */ export function wrapUnknownError(err) { return Boom.boomify(err); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js b/x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js index 6cedc82e2291..3642de5ffabb 100644 --- a/x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js +++ b/x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js @@ -30,4 +30,4 @@ describe('flatten_object', () => { }; expect(flattenObject(obj)).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/index_management/__mocks__/ui/documentation_links.js b/x-pack/plugins/index_management/__mocks__/ui/documentation_links.js index ac606ca67aad..0da03ba9b98b 100644 --- a/x-pack/plugins/index_management/__mocks__/ui/documentation_links.js +++ b/x-pack/plugins/index_management/__mocks__/ui/documentation_links.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export const settingsDocumentationLink = 'https://stuff.com/docs'; \ No newline at end of file +export const settingsDocumentationLink = 'https://stuff.com/docs'; diff --git a/x-pack/plugins/index_management/__mocks__/ui/notify.js b/x-pack/plugins/index_management/__mocks__/ui/notify.js index de39a9797720..8d61b9be5409 100644 --- a/x-pack/plugins/index_management/__mocks__/ui/notify.js +++ b/x-pack/plugins/index_management/__mocks__/ui/notify.js @@ -7,4 +7,4 @@ export const toastNotifications = { addSuccess: () => {}, addDanger: () => {}, -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_management/index_management_data.js b/x-pack/plugins/index_management/index_management_data.js index 60b2ffba236d..4041a74eb611 100644 --- a/x-pack/plugins/index_management/index_management_data.js +++ b/x-pack/plugins/index_management/index_management_data.js @@ -10,4 +10,4 @@ export const addIndexManagementDataEnricher = (enricher) => { }; export const getIndexManagementDataEnrichers = () => { return indexManagementDataEnrichers; -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_management/public/lib/editSettings.js b/x-pack/plugins/index_management/public/lib/editSettings.js index 34387a277c54..4caa371e0d28 100644 --- a/x-pack/plugins/index_management/public/lib/editSettings.js +++ b/x-pack/plugins/index_management/public/lib/editSettings.js @@ -29,4 +29,4 @@ export const settingsToDisplay = [ 'index.query.default_field', 'index.refresh_interval', 'index.write.wait_for_active_shards' -]; \ No newline at end of file +]; diff --git a/x-pack/plugins/index_management/public/lib/flatten_object.js b/x-pack/plugins/index_management/public/lib/flatten_object.js index 54cf0e56a071..7e84bd49f93d 100644 --- a/x-pack/plugins/index_management/public/lib/flatten_object.js +++ b/x-pack/plugins/index_management/public/lib/flatten_object.js @@ -20,4 +20,4 @@ export const flattenObject = (nestedObj, flattenArrays) => { }); }(nestedObj)); return flatObj; -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_management/public/lib/render_badges.js b/x-pack/plugins/index_management/public/lib/render_badges.js index 6803ecff31c9..bd8cb92d4211 100644 --- a/x-pack/plugins/index_management/public/lib/render_badges.js +++ b/x-pack/plugins/index_management/public/lib/render_badges.js @@ -44,4 +44,4 @@ export const renderBadges = (index, filterChanged) => { {badgeLabels} ); -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js index 6fb82a65dde8..3125ca94c301 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js +++ b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { EditSettingsJson } from './edit_settings_json.container'; \ No newline at end of file +export { EditSettingsJson } from './edit_settings_json.container'; diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js index bdc6607efc1d..c27bbd8ea830 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js +++ b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { DetailPanel } from './detail_panel.container'; \ No newline at end of file +export { DetailPanel } from './detail_panel.container'; diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js index 22f4edc9912d..2679651307ff 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js +++ b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { ShowJson } from './show_json.container'; \ No newline at end of file +export { ShowJson } from './show_json.container'; diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js index d979e95ff786..64f543640bda 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js +++ b/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { Summary } from './summary.container'; \ No newline at end of file +export { Summary } from './summary.container'; diff --git a/x-pack/plugins/index_management/public/services/api.js b/x-pack/plugins/index_management/public/services/api.js index 8b7347864e48..c8d77f140db6 100644 --- a/x-pack/plugins/index_management/public/services/api.js +++ b/x-pack/plugins/index_management/public/services/api.js @@ -126,4 +126,4 @@ export async function loadIndexData(type, indexName) { case 'Stats': return loadIndexStats(indexName); } -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/public/store/actions/table_state.js b/x-pack/plugins/index_management/public/store/actions/table_state.js index e72b116a5595..d693cab5478b 100644 --- a/x-pack/plugins/index_management/public/store/actions/table_state.js +++ b/x-pack/plugins/index_management/public/store/actions/table_state.js @@ -25,4 +25,4 @@ export const showSystemIndicesChanged = createAction('INDEX_MANAGEMENT_SHOW_SYSTEM_INDICES_CHANGED'); export const toggleChanged = - createAction('INDEX_MANAGEMENT_TOGGLE_CHANGED'); \ No newline at end of file + createAction('INDEX_MANAGEMENT_TOGGLE_CHANGED'); diff --git a/x-pack/plugins/index_management/public/store/reducers/detail_panel.js b/x-pack/plugins/index_management/public/store/reducers/detail_panel.js index d8c1bdbd2d10..41105b745693 100644 --- a/x-pack/plugins/index_management/public/store/reducers/detail_panel.js +++ b/x-pack/plugins/index_management/public/store/reducers/detail_panel.js @@ -59,4 +59,4 @@ export const detailPanel = handleActions( }, }, defaultState -); \ No newline at end of file +); diff --git a/x-pack/plugins/index_management/public/store/reducers/index_management.js b/x-pack/plugins/index_management/public/store/reducers/index_management.js index 871c130e91a1..1dfc12caea2a 100644 --- a/x-pack/plugins/index_management/public/store/reducers/index_management.js +++ b/x-pack/plugins/index_management/public/store/reducers/index_management.js @@ -15,4 +15,4 @@ export const indexManagement = combineReducers({ rowStatus, tableState, detailPanel -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js b/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js index 9999475a9a2c..90b933c070cd 100644 --- a/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js +++ b/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js @@ -17,4 +17,4 @@ const handler = async (request, callWithRequest, h) => { }; export function registerFlushRoute(router) { router.post('indices/flush', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js b/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js index 8f9b749448a2..bffb8a8eb839 100644 --- a/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js +++ b/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js @@ -20,4 +20,4 @@ const handler = async (request, callWithRequest, h) => { }; export function registerForcemergeRoute(router) { router.post('indices/forcemerge', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js b/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js index 5fbfe430e376..6c83b806113b 100644 --- a/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js +++ b/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js @@ -10,4 +10,4 @@ const handler = async (request, callWithRequest) => { }; export function registerListRoute(router) { router.get('indices', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js b/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js index a7ee59dd1b60..1d1bfe52f92d 100644 --- a/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js +++ b/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js @@ -17,4 +17,4 @@ const handler = async (request, callWithRequest, h) => { }; export function registerRefreshRoute(router) { router.post('indices/refresh', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js b/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js index 02957dbe8096..dc3f7eeed013 100644 --- a/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js +++ b/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js @@ -17,4 +17,4 @@ const handler = async (request, callWithRequest, h) => { }; export function registerUnfreezeRoute(router) { router.post('indices/unfreeze', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/index.js b/x-pack/plugins/index_management/server/routes/api/mapping/index.js index 81d9be047f49..905a6d366a25 100644 --- a/x-pack/plugins/index_management/server/routes/api/mapping/index.js +++ b/x-pack/plugins/index_management/server/routes/api/mapping/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { registerMappingRoute } from './register_mapping_route'; \ No newline at end of file +export { registerMappingRoute } from './register_mapping_route'; diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js b/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js index f90d4ce7b3d8..86aacd8a6154 100644 --- a/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js +++ b/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js @@ -19,4 +19,4 @@ const handler = async (request, callWithRequest) => { }; export function registerUpdateRoute(router) { router.put('settings/{indexName}', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/index_management/server/routes/api/stats/index.js b/x-pack/plugins/index_management/server/routes/api/stats/index.js index 14f92e429b54..abc5e1f19b80 100644 --- a/x-pack/plugins/index_management/server/routes/api/stats/index.js +++ b/x-pack/plugins/index_management/server/routes/api/stats/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { registerStatsRoute } from './register_stats_route'; \ No newline at end of file +export { registerStatsRoute } from './register_stats_route'; diff --git a/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js b/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js index 538f5a6e6285..a80c0cee9233 100644 --- a/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js +++ b/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js @@ -27,4 +27,4 @@ const handler = async (request, callWithRequest) => { }; export function registerStatsRoute(router) { router.get('stats/{indexName}', handler); -} \ No newline at end of file +} diff --git a/x-pack/plugins/license_management/__jest__/api_responses/index.js b/x-pack/plugins/license_management/__jest__/api_responses/index.js index b4d08a97cf3e..33132a9623d4 100644 --- a/x-pack/plugins/license_management/__jest__/api_responses/index.js +++ b/x-pack/plugins/license_management/__jest__/api_responses/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export * from './upload_license'; \ No newline at end of file +export * from './upload_license'; diff --git a/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js b/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js index 3ed9a11d6d9b..3b0eee38e3c9 100644 --- a/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js +++ b/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js @@ -20,4 +20,4 @@ describe('TelemetryOptIn', () => { const rendered = mountWithIntl(); expect(rendered).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/license_management/__jest__/util/index.js b/x-pack/plugins/license_management/__jest__/util/index.js index abba94291d52..e771c1f1ee8a 100644 --- a/x-pack/plugins/license_management/__jest__/util/index.js +++ b/x-pack/plugins/license_management/__jest__/util/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export * from './util'; \ No newline at end of file +export * from './util'; diff --git a/x-pack/plugins/license_management/public/app.js b/x-pack/plugins/license_management/public/app.js index f65274ff13f3..28f68aa05bc2 100644 --- a/x-pack/plugins/license_management/public/app.js +++ b/x-pack/plugins/license_management/public/app.js @@ -17,4 +17,4 @@ export default () => ( -); \ No newline at end of file +); diff --git a/x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js b/x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js index 4bef20b8b4a0..7d9e35cf2008 100644 --- a/x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js +++ b/x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { TelemetryOptIn } from './telemetry_opt_in'; \ No newline at end of file +export { TelemetryOptIn } from './telemetry_opt_in'; diff --git a/x-pack/plugins/license_management/public/index.js b/x-pack/plugins/license_management/public/index.js index 79d4f1c431cb..0e7c3ae60c77 100644 --- a/x-pack/plugins/license_management/public/index.js +++ b/x-pack/plugins/license_management/public/index.js @@ -5,4 +5,4 @@ */ import './management_section'; -import './register_route'; \ No newline at end of file +import './register_route'; diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js b/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js index 88bfab8eba97..b9b33e7e3f2c 100644 --- a/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js +++ b/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { StartTrial } from './start_trial.container'; \ No newline at end of file +export { StartTrial } from './start_trial.container'; diff --git a/x-pack/plugins/license_management/public/store/reducers/trial_status.js b/x-pack/plugins/license_management/public/store/reducers/trial_status.js index c9e3b93acb6d..d673f5d93b1c 100644 --- a/x-pack/plugins/license_management/public/store/reducers/trial_status.js +++ b/x-pack/plugins/license_management/public/store/reducers/trial_status.js @@ -14,4 +14,4 @@ export const trialStatus = handleActions({ canStartTrial: payload }; }, -}, {}); \ No newline at end of file +}, {}); diff --git a/x-pack/plugins/logstash/public/lib/update_management_sections/index.js b/x-pack/plugins/logstash/public/lib/update_management_sections/index.js index 972f1a4c279d..9d53d4dd6116 100755 --- a/x-pack/plugins/logstash/public/lib/update_management_sections/index.js +++ b/x-pack/plugins/logstash/public/lib/update_management_sections/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { updateLogstashSections } from './update_logstash_sections'; \ No newline at end of file +export { updateLogstashSections } from './update_logstash_sections'; diff --git a/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js b/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js index 16139b000e61..582c021892d4 100755 --- a/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js +++ b/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js @@ -88,4 +88,4 @@ describe('fetch_all_from_scroll', () => { }); }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/logstash/server/routes/api/pipelines/index.js b/x-pack/plugins/logstash/server/routes/api/pipelines/index.js index 25ef2b8d805a..db275b5a3ea7 100755 --- a/x-pack/plugins/logstash/server/routes/api/pipelines/index.js +++ b/x-pack/plugins/logstash/server/routes/api/pipelines/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { registerLogstashPipelinesRoutes } from './register_pipelines_routes'; \ No newline at end of file +export { registerLogstashPipelinesRoutes } from './register_pipelines_routes'; diff --git a/x-pack/plugins/maps/public/components/layer_panel/style_tabs/resources/style_tab.js b/x-pack/plugins/maps/public/components/layer_panel/style_tabs/resources/style_tab.js index 4132692414c1..6a503ddaae75 100644 --- a/x-pack/plugins/maps/public/components/layer_panel/style_tabs/resources/style_tab.js +++ b/x-pack/plugins/maps/public/components/layer_panel/style_tabs/resources/style_tab.js @@ -25,4 +25,4 @@ export function StyleTab(props) { >{ name } ) || null; -} \ No newline at end of file +} diff --git a/x-pack/plugins/maps/public/index.js b/x-pack/plugins/maps/public/index.js index 89b095e2fbd4..5a6321ebe80f 100644 --- a/x-pack/plugins/maps/public/index.js +++ b/x-pack/plugins/maps/public/index.js @@ -101,4 +101,4 @@ routes }) .otherwise({ redirectTo: '/' - }); \ No newline at end of file + }); diff --git a/x-pack/plugins/maps/public/shared/utils/color_utils.js b/x-pack/plugins/maps/public/shared/utils/color_utils.js index 1432538f78b8..862044ff021e 100644 --- a/x-pack/plugins/maps/public/shared/utils/color_utils.js +++ b/x-pack/plugins/maps/public/shared/utils/color_utils.js @@ -20,4 +20,4 @@ export function getRGBColorRangeStrings(colorName, numberColors) { export function getHexColorRangeStrings(colorName, numberColors) { return getRGBColorRangeStrings(colorName, numberColors) .map(rgbColor => chroma(rgbColor).hex()); -} \ No newline at end of file +} diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js b/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js index 0d11ff7f8c37..d2f7b4757700 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js +++ b/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js @@ -85,4 +85,4 @@ describe('buildMapsTelemetry', () => { 'mapsTotalCount': 3 }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js b/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js index 48c49542580c..88713a447112 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js +++ b/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js @@ -54,4 +54,4 @@ export function registerMapsUsageCollector(server) { const mapsUsageCollector = server.usage.collectorSet .makeUsageCollector(collectorObj); server.usage.collectorSet.register(mapsUsageCollector); -} \ No newline at end of file +} diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js b/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js index 073927ffd5bb..186eb41bca8a 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js +++ b/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js @@ -66,4 +66,4 @@ describe('buildCollectorObj#fetch', () => { await expect(fetch()).rejects.toMatchObject(new Error('Sad violin')); }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js b/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js index e8b04b15b1e2..58d53d35260c 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js +++ b/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js @@ -40,4 +40,4 @@ describe('telemetryTaskRunner', () => { }, }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/maps/server/test_utils/index.js b/x-pack/plugins/maps/server/test_utils/index.js index 8a11d233f1d4..3de792e79c9e 100644 --- a/x-pack/plugins/maps/server/test_utils/index.js +++ b/x-pack/plugins/maps/server/test_utils/index.js @@ -48,4 +48,4 @@ export const getMockKbnServer = ( }, config: () => ({ get: () => '' }), log: () => undefined -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/index.js b/x-pack/plugins/ml/public/components/chart_tooltip/index.js index dce4cc44e252..2349bc398602 100644 --- a/x-pack/plugins/ml/public/components/chart_tooltip/index.js +++ b/x-pack/plugins/ml/public/components/chart_tooltip/index.js @@ -6,4 +6,4 @@ -import './chart_tooltip'; \ No newline at end of file +import './chart_tooltip'; diff --git a/x-pack/plugins/ml/public/components/field_title_bar/index.js b/x-pack/plugins/ml/public/components/field_title_bar/index.js index 0fb644de342f..010cc916702a 100644 --- a/x-pack/plugins/ml/public/components/field_title_bar/index.js +++ b/x-pack/plugins/ml/public/components/field_title_bar/index.js @@ -6,4 +6,4 @@ -import './field_title_bar_directive'; \ No newline at end of file +import './field_title_bar_directive'; diff --git a/x-pack/plugins/ml/public/components/form_label/index.js b/x-pack/plugins/ml/public/components/form_label/index.js index 4d4a0f7703a9..5218ee55c606 100644 --- a/x-pack/plugins/ml/public/components/form_label/index.js +++ b/x-pack/plugins/ml/public/components/form_label/index.js @@ -6,4 +6,4 @@ -import './form_label_directive'; \ No newline at end of file +import './form_label_directive'; diff --git a/x-pack/plugins/ml/public/components/job_group_select/index.js b/x-pack/plugins/ml/public/components/job_group_select/index.js index ae7894b6f29c..0704e47bf7da 100644 --- a/x-pack/plugins/ml/public/components/job_group_select/index.js +++ b/x-pack/plugins/ml/public/components/job_group_select/index.js @@ -6,4 +6,4 @@ -import './job_group_select'; \ No newline at end of file +import './job_group_select'; diff --git a/x-pack/plugins/ml/public/components/job_select_list/index.js b/x-pack/plugins/ml/public/components/job_select_list/index.js index b826021fe85f..bba2809644d8 100644 --- a/x-pack/plugins/ml/public/components/job_select_list/index.js +++ b/x-pack/plugins/ml/public/components/job_select_list/index.js @@ -9,4 +9,4 @@ import './job_select_list_directive'; import './job_select_button_directive.js'; -import './job_select_service.js'; \ No newline at end of file +import './job_select_service.js'; diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js b/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js index 9a1074cfd194..43a983f13059 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js @@ -6,4 +6,4 @@ -import './bucket_span_selection_directive'; \ No newline at end of file +import './bucket_span_selection_directive'; diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js b/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js index cdd3519f6c18..bca1980cec45 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js @@ -6,4 +6,4 @@ -import './event_rate_chart_directive'; \ No newline at end of file +import './event_rate_chart_directive'; diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js index 374931319499..a9ce6a6d9971 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js @@ -6,4 +6,4 @@ -import './fields_selection_directive'; \ No newline at end of file +import './fields_selection_directive'; diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js b/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js index fee5c486f456..c8d701ce8477 100644 --- a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js +++ b/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js @@ -6,4 +6,4 @@ -import './general_job_details_directive'; \ No newline at end of file +import './general_job_details_directive'; diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/index.js b/x-pack/plugins/ml/public/settings/filter_lists/edit/index.js index 5913b7ef6049..383901729132 100644 --- a/x-pack/plugins/ml/public/settings/filter_lists/edit/index.js +++ b/x-pack/plugins/ml/public/settings/filter_lists/edit/index.js @@ -5,4 +5,4 @@ */ -import './directive'; \ No newline at end of file +import './directive'; diff --git a/x-pack/plugins/ml/public/settings/filter_lists/index.js b/x-pack/plugins/ml/public/settings/filter_lists/index.js index 3e610e6e8ddf..463b602c20c9 100644 --- a/x-pack/plugins/ml/public/settings/filter_lists/index.js +++ b/x-pack/plugins/ml/public/settings/filter_lists/index.js @@ -6,4 +6,4 @@ import './edit'; -import './list'; \ No newline at end of file +import './list'; diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js b/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js index 7f8ea9db3b50..81e2e7a83029 100644 --- a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js +++ b/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js @@ -6,4 +6,4 @@ -import './forecasting_modal_directive'; \ No newline at end of file +import './forecasting_modal_directive'; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js index 94e540222d53..cf80f1771317 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js @@ -29,4 +29,4 @@ export const vents = { }); } } -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js index 112bd9f5000e..887e7fd678fd 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js @@ -33,4 +33,4 @@ describe('Config class', () => { config.update(configJson); expect(graphUpdateSpy.calledWith(configJson.graph)).to.be(true); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js index 15bd00cbf922..1a734debc21e 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js @@ -35,4 +35,4 @@ describe('PipelineState class', () => { pipelineState.update(configJson); expect(configUpdateSpy.calledWith(configJson.representation)).to.be(true); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js index cfe240436b55..a1abcf6385f7 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js @@ -31,4 +31,4 @@ describe('BooleanEdge', () => { const booleanEdge = new BooleanEdge(graph, edgeJson); expect(booleanEdge).to.be.a(Edge); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js index 35249d938f2e..00105ce32703 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js @@ -36,4 +36,4 @@ describe('Edge', () => { expect(edge.toId).to.be('myes'); expect(edge.to).to.be(graph.verticesById.myes); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js index 27bc53673f03..cb9b831f4e35 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js @@ -42,4 +42,4 @@ describe('edgeFactory', () => { const fn = () => edgeFactory(graph, edgeJson); expect(fn).to.throwError(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js index a1f875f9ee58..4b98217e1817 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js @@ -38,4 +38,4 @@ describe('IfVertex', () => { const ifVertex = new IfVertex(graph, vertexJson); expect(ifVertex.iconType).to.be('logstashIf'); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js index 27d2e2704f10..eb091e6bdf68 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js @@ -26,4 +26,4 @@ describe('QueueVertex', () => { const queueVertex = new QueueVertex(graph, vertexJson); expect(queueVertex.typeString).to.be('queue'); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js index 89cb4916fcad..5cb914a5e421 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js @@ -46,4 +46,4 @@ describe('vertexFactory', () => { const fn = () => vertexFactory(graph, vertexJson); expect(fn).to.throwError(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js index 7ddf7cd4f235..a9c745213642 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js @@ -17,4 +17,4 @@ export function edgeFactory(graph, edgeJson) { default: throw new Error(`Unknown edge type ${type}! This shouldn't happen!`); } -} \ No newline at end of file +} diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js index aa0198e16cea..96876b87abfc 100644 --- a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js +++ b/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js @@ -20,4 +20,4 @@ export function vertexFactory(graph, vertexJson) { default: throw new Error(`Unknown vertex type ${type}! This shouldn't happen!`); } -} \ No newline at end of file +} diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js b/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js index 5cf4dade7153..01c91e3c4227 100644 --- a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js +++ b/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js @@ -35,4 +35,4 @@ export function createBeatsQuery(options = { }) { }); return createQuery(options); -} \ No newline at end of file +} diff --git a/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.js b/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.js index a6903bcf11a7..0743e443955f 100644 --- a/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.js +++ b/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { licensePreRoutingFactory } from './license_pre_routing_factory'; \ No newline at end of file +export { licensePreRoutingFactory } from './license_pre_routing_factory'; diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js b/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js index 18644b99cc4e..68066d53186c 100644 --- a/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js +++ b/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js @@ -78,4 +78,4 @@ export function compatibilityShimFactory(server) { return await createJob(transformedJobParams, headers, request); }; }; -} \ No newline at end of file +} diff --git a/x-pack/plugins/reporting/server/browsers/extract/extract.js b/x-pack/plugins/reporting/server/browsers/extract/extract.js index 92233cdd9ddf..b205a8780349 100644 --- a/x-pack/plugins/reporting/server/browsers/extract/extract.js +++ b/x-pack/plugins/reporting/server/browsers/extract/extract.js @@ -25,4 +25,4 @@ export async function extract(archivePath, targetPath) { } await unpacker(archivePath, targetPath); -} \ No newline at end of file +} diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js b/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js index 4372388d017f..bee32a44c35a 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js +++ b/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js @@ -27,4 +27,4 @@ export const TabJson = ({ }} /> ); -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js b/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js index a6903bcf11a7..0743e443955f 100644 --- a/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js +++ b/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { licensePreRoutingFactory } from './license_pre_routing_factory'; \ No newline at end of file +export { licensePreRoutingFactory } from './license_pre_routing_factory'; diff --git a/x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js b/x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js index 18d1c7ddc472..aa088ffc46c5 100644 --- a/x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js +++ b/x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js @@ -30,4 +30,4 @@ export function msToPretty(ms, precision) { ms /= 24; return ms.toFixed(precision) + 'd'; -} \ No newline at end of file +} diff --git a/x-pack/plugins/searchprofiler/public/templates/default_query.js b/x-pack/plugins/searchprofiler/public/templates/default_query.js index 13d9719e6085..afab7e808eb1 100644 --- a/x-pack/plugins/searchprofiler/public/templates/default_query.js +++ b/x-pack/plugins/searchprofiler/public/templates/default_query.js @@ -8,4 +8,4 @@ export const defaultQuery = `{ "query":{ "match_all" : {} } -}`; \ No newline at end of file +}`; diff --git a/x-pack/plugins/searchprofiler/server/routes/profile.js b/x-pack/plugins/searchprofiler/server/routes/profile.js index 72953c3b3769..b1ba7527b69d 100644 --- a/x-pack/plugins/searchprofiler/server/routes/profile.js +++ b/x-pack/plugins/searchprofiler/server/routes/profile.js @@ -48,4 +48,4 @@ export function profileRoute(server, commonRouteConfig) { } }); -} \ No newline at end of file +} diff --git a/x-pack/plugins/security/common/constants.js b/x-pack/plugins/security/common/constants.js index bc74ebb4bfee..5fb316b77250 100644 --- a/x-pack/plugins/security/common/constants.js +++ b/x-pack/plugins/security/common/constants.js @@ -6,4 +6,4 @@ export const GLOBAL_RESOURCE = '*'; export const IGNORED_TYPES = ['space']; -export const REALMS_ELIGIBLE_FOR_PASSWORD_CHANGE = ['reserved', 'native']; \ No newline at end of file +export const REALMS_ELIGIBLE_FOR_PASSWORD_CHANGE = ['reserved', 'native']; diff --git a/x-pack/plugins/watcher/common/constants/lists.js b/x-pack/plugins/watcher/common/constants/lists.js index 10c8f2f74e72..da89b99f828b 100644 --- a/x-pack/plugins/watcher/common/constants/lists.js +++ b/x-pack/plugins/watcher/common/constants/lists.js @@ -7,4 +7,4 @@ // Durations are in ms export const LISTS = { NEW_ITEMS_HIGHLIGHT_DURATION: 1 * 1000 -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/watcher/common/constants/plugin.js b/x-pack/plugins/watcher/common/constants/plugin.js index 2ab0032e6cbf..bcff92786301 100644 --- a/x-pack/plugins/watcher/common/constants/plugin.js +++ b/x-pack/plugins/watcher/common/constants/plugin.js @@ -6,4 +6,4 @@ export const PLUGIN = { ID: 'watcher' -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/watcher/common/constants/routes.js b/x-pack/plugins/watcher/common/constants/routes.js index 1e40b01ebebe..97ae0ee6de18 100644 --- a/x-pack/plugins/watcher/common/constants/routes.js +++ b/x-pack/plugins/watcher/common/constants/routes.js @@ -6,4 +6,4 @@ export const ROUTES = { API_ROOT: '/api/watcher', -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/watcher/common/constants/watch_history.js b/x-pack/plugins/watcher/common/constants/watch_history.js index a0871bf3fc5c..3fad569ab787 100644 --- a/x-pack/plugins/watcher/common/constants/watch_history.js +++ b/x-pack/plugins/watcher/common/constants/watch_history.js @@ -6,4 +6,4 @@ export const WATCH_HISTORY = { INITIAL_RANGE: 'now-1h' -}; \ No newline at end of file +}; diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js b/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js index 21272a3569bd..7102567fb3cb 100644 --- a/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js +++ b/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js @@ -67,4 +67,4 @@ app.directive('chartTooltip', function () { } } }; -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/index.js b/x-pack/plugins/watcher/public/components/chart_tooltip/index.js index 65326aa72fb4..09d3ddf9ae8d 100644 --- a/x-pack/plugins/watcher/public/components/chart_tooltip/index.js +++ b/x-pack/plugins/watcher/public/components/chart_tooltip/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './chart_tooltip'; \ No newline at end of file +import './chart_tooltip'; diff --git a/x-pack/plugins/watcher/public/components/flot_chart/index.js b/x-pack/plugins/watcher/public/components/flot_chart/index.js index 24b727061d23..c95a866839fa 100644 --- a/x-pack/plugins/watcher/public/components/flot_chart/index.js +++ b/x-pack/plugins/watcher/public/components/flot_chart/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './flot_chart'; \ No newline at end of file +import './flot_chart'; diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js b/x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js index 72a9b6076891..fbf2da1b5152 100644 --- a/x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js +++ b/x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './threshold_preview_chart'; \ No newline at end of file +import './threshold_preview_chart'; diff --git a/x-pack/plugins/watcher/public/models/watch_history_item/index.js b/x-pack/plugins/watcher/public/models/watch_history_item/index.js index 2c6b8ce2f436..a3d73334543e 100644 --- a/x-pack/plugins/watcher/public/models/watch_history_item/index.js +++ b/x-pack/plugins/watcher/public/models/watch_history_item/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { WatchHistoryItem } from './watch_history_item'; \ No newline at end of file +export { WatchHistoryItem } from './watch_history_item'; diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js b/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js index a6bdd5620ec6..dd189310a75a 100644 --- a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js +++ b/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './watch_history_range_filter'; \ No newline at end of file +import './watch_history_range_filter'; diff --git a/x-pack/plugins/watcher/public/services/license/index.js b/x-pack/plugins/watcher/public/services/license/index.js index d30d544e4b92..8be8fb5ccbc6 100644 --- a/x-pack/plugins/watcher/public/services/license/index.js +++ b/x-pack/plugins/watcher/public/services/license/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './license_service.factory'; \ No newline at end of file +import './license_service.factory'; diff --git a/x-pack/plugins/watcher/public/services/watches/index.js b/x-pack/plugins/watcher/public/services/watches/index.js index 773b4894b47a..9a52e4f276fd 100644 --- a/x-pack/plugins/watcher/public/services/watches/index.js +++ b/x-pack/plugins/watcher/public/services/watches/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -import './watches_service.factory'; \ No newline at end of file +import './watches_service.factory'; diff --git a/x-pack/plugins/watcher/server/lib/check_license/check_license.js b/x-pack/plugins/watcher/server/lib/check_license/check_license.js index 9353283e7e55..2b318c4ddd88 100644 --- a/x-pack/plugins/watcher/server/lib/check_license/check_license.js +++ b/x-pack/plugins/watcher/server/lib/check_license/check_license.js @@ -71,4 +71,4 @@ export function checkLicense(xpackLicenseInfo) { showLinks: true, enableLinks: true }; -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/lib/check_license/index.js b/x-pack/plugins/watcher/server/lib/check_license/index.js index a6c7fae3e1ad..f2c070fd44b6 100644 --- a/x-pack/plugins/watcher/server/lib/check_license/index.js +++ b/x-pack/plugins/watcher/server/lib/check_license/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { checkLicense } from './check_license'; \ No newline at end of file +export { checkLicense } from './check_license'; diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js index 4b865880ae20..ffd915c51336 100644 --- a/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js +++ b/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js @@ -14,4 +14,4 @@ import Boom from 'boom'; */ export function wrapUnknownError(err) { return Boom.boomify(err); -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js b/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js index 16139b000e61..582c021892d4 100644 --- a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js +++ b/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js @@ -88,4 +88,4 @@ describe('fetch_all_from_scroll', () => { }); }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js b/x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js index 3675318feb93..441648a8701e 100644 --- a/x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js +++ b/x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { isEsErrorFactory } from './is_es_error_factory'; \ No newline at end of file +export { isEsErrorFactory } from './is_es_error_factory'; diff --git a/x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js b/x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js index 51ed6f4dddfe..80daac5bd496 100644 --- a/x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js +++ b/x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js @@ -15,4 +15,4 @@ export function isEsErrorFactory(server) { return function isEsError(err) { return err instanceof esErrors._Abstract; }; -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js b/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js index a6903bcf11a7..0743e443955f 100644 --- a/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js +++ b/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { licensePreRoutingFactory } from './license_pre_routing_factory'; \ No newline at end of file +export { licensePreRoutingFactory } from './license_pre_routing_factory'; diff --git a/x-pack/plugins/watcher/server/lib/register_license_checker/index.js b/x-pack/plugins/watcher/server/lib/register_license_checker/index.js index 8f888af8f886..7b0f97c38d12 100644 --- a/x-pack/plugins/watcher/server/lib/register_license_checker/index.js +++ b/x-pack/plugins/watcher/server/lib/register_license_checker/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { registerLicenseChecker } from './register_license_checker'; \ No newline at end of file +export { registerLicenseChecker } from './register_license_checker'; diff --git a/x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js b/x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js index 26b0091ef219..b05946e60b33 100644 --- a/x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js +++ b/x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js @@ -18,4 +18,4 @@ export function registerLicenseChecker(server) { // to re-compute the license check results for this plugin xpackMainPlugin.info.feature(PLUGIN.ID).registerLicenseCheckResultsGenerator(checkLicense); }); -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js b/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js index edf0c09aa338..3acc0998863c 100644 --- a/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js +++ b/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js @@ -31,4 +31,4 @@ describe('watch_errors', () => { }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js b/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js index ca940a64578a..6f2c86664420 100644 --- a/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js +++ b/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js @@ -8,4 +8,4 @@ import { registerAcknowledgeRoute } from './register_acknowledge_route'; export function registerActionRoutes(server) { registerAcknowledgeRoute(server); -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js b/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js index 3312dc888938..dc3b015dffa9 100644 --- a/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js +++ b/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js @@ -47,4 +47,4 @@ export function registerDeleteRoute(server) { pre: [ licensePreRouting ] } }); -} \ No newline at end of file +} diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js b/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js index 954114d86371..5f7ae6a5935b 100644 --- a/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js +++ b/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js @@ -10,4 +10,4 @@ import { registerDeleteRoute } from './register_delete_route'; export function registerWatchesRoutes(server) { registerListRoute(server); registerDeleteRoute(server); -} \ No newline at end of file +} diff --git a/x-pack/plugins/xpack_main/public/components/index.js b/x-pack/plugins/xpack_main/public/components/index.js index c8dc260717da..4d1ec4f26fff 100644 --- a/x-pack/plugins/xpack_main/public/components/index.js +++ b/x-pack/plugins/xpack_main/public/components/index.js @@ -13,4 +13,4 @@ export { AddLicense } from '../../../license_management/public/sections/license_ export { BASE_PATH as MANAGEMENT_BASE_PATH } from '../../../license_management/common/constants'; export { TelemetryForm } from './telemetry/telemetry_form'; -export { OptInExampleFlyout } from './telemetry/opt_in_details_component'; \ No newline at end of file +export { OptInExampleFlyout } from './telemetry/opt_in_details_component'; diff --git a/x-pack/plugins/xpack_main/public/components/telemetry/opt_in_details_component.test.js b/x-pack/plugins/xpack_main/public/components/telemetry/opt_in_details_component.test.js index bfc6a6e56e2f..358735ff95c8 100644 --- a/x-pack/plugins/xpack_main/public/components/telemetry/opt_in_details_component.test.js +++ b/x-pack/plugins/xpack_main/public/components/telemetry/opt_in_details_component.test.js @@ -13,4 +13,4 @@ describe('OptInDetailsComponent', () => { ({ data: [] }))} onClose={jest.fn()} />) ).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.js b/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.js index 39920d0eccf9..e95f2f2bb8ef 100644 --- a/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.js +++ b/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.js @@ -185,4 +185,4 @@ export class TelemetryForm extends Component { showExample: !this.state.showExample }); } -} \ No newline at end of file +} diff --git a/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.test.js b/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.test.js index 7e5bb1c13a6f..4afe4e273631 100644 --- a/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.test.js +++ b/x-pack/plugins/xpack_main/public/components/telemetry/telemetry_form.test.js @@ -49,4 +49,4 @@ describe('TelemetryForm', () => { />) ).toMatchSnapshot(); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/click_banner.js b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/click_banner.js index 3ef092bde18e..3a1e528e3fc4 100644 --- a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/click_banner.js +++ b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/click_banner.js @@ -110,4 +110,4 @@ describe('click_banner', () => { expect(banners.remove.notCalled).to.be(true); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/should_show_banner.js b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/should_show_banner.js index 33fde83241f8..ed9d3e79a0c5 100644 --- a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/should_show_banner.js +++ b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/__tests__/should_show_banner.js @@ -74,4 +74,4 @@ describe('should_show_banner', () => { expect(await shouldShowBanner(telemetryOptInProvider, config)).to.be(false); }); -}); \ No newline at end of file +}); diff --git a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/index.js b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/index.js index 001b275c26ff..2eabe7496b1f 100644 --- a/x-pack/plugins/xpack_main/public/hacks/welcome_banner/index.js +++ b/x-pack/plugins/xpack_main/public/hacks/welcome_banner/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { injectBanner } from './inject_banner'; \ No newline at end of file +export { injectBanner } from './inject_banner'; diff --git a/x-pack/plugins/xpack_main/public/services/telemetry_opt_in.test.js b/x-pack/plugins/xpack_main/public/services/telemetry_opt_in.test.js index c89ddbacf672..2d4270b47d66 100644 --- a/x-pack/plugins/xpack_main/public/services/telemetry_opt_in.test.js +++ b/x-pack/plugins/xpack_main/public/services/telemetry_opt_in.test.js @@ -86,4 +86,4 @@ describe('TelemetryOptInProvider', () => { // opt-in change should not be reflected expect(provider.getOptIn()).toEqual(false); }); -}); \ No newline at end of file +}); diff --git a/x-pack/server/lib/__tests__/kibana_state.js b/x-pack/server/lib/__tests__/kibana_state.js index 938c263b8f66..3b0b8f8a2ea2 100644 --- a/x-pack/server/lib/__tests__/kibana_state.js +++ b/x-pack/server/lib/__tests__/kibana_state.js @@ -125,4 +125,4 @@ describe('Kibana state', function () { }); }); }); -}); \ No newline at end of file +}); diff --git a/x-pack/server/lib/check_license/index.js b/x-pack/server/lib/check_license/index.js index a6c7fae3e1ad..f2c070fd44b6 100644 --- a/x-pack/server/lib/check_license/index.js +++ b/x-pack/server/lib/check_license/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { checkLicense } from './check_license'; \ No newline at end of file +export { checkLicense } from './check_license'; diff --git a/x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js b/x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js index 4b865880ae20..ffd915c51336 100644 --- a/x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js +++ b/x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js @@ -14,4 +14,4 @@ import Boom from 'boom'; */ export function wrapUnknownError(err) { return Boom.boomify(err); -} \ No newline at end of file +} diff --git a/x-pack/server/lib/create_router/is_es_error_factory/index.js b/x-pack/server/lib/create_router/is_es_error_factory/index.js index 3675318feb93..441648a8701e 100644 --- a/x-pack/server/lib/create_router/is_es_error_factory/index.js +++ b/x-pack/server/lib/create_router/is_es_error_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { isEsErrorFactory } from './is_es_error_factory'; \ No newline at end of file +export { isEsErrorFactory } from './is_es_error_factory'; diff --git a/x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js b/x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js index 51ed6f4dddfe..80daac5bd496 100644 --- a/x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js +++ b/x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js @@ -15,4 +15,4 @@ export function isEsErrorFactory(server) { return function isEsError(err) { return err instanceof esErrors._Abstract; }; -} \ No newline at end of file +} diff --git a/x-pack/server/lib/create_router/license_pre_routing_factory/index.js b/x-pack/server/lib/create_router/license_pre_routing_factory/index.js index a6903bcf11a7..0743e443955f 100644 --- a/x-pack/server/lib/create_router/license_pre_routing_factory/index.js +++ b/x-pack/server/lib/create_router/license_pre_routing_factory/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { licensePreRoutingFactory } from './license_pre_routing_factory'; \ No newline at end of file +export { licensePreRoutingFactory } from './license_pre_routing_factory'; diff --git a/x-pack/server/lib/parse_kibana_state.js b/x-pack/server/lib/parse_kibana_state.js index 2a8b906866a0..8084a7b19e01 100644 --- a/x-pack/server/lib/parse_kibana_state.js +++ b/x-pack/server/lib/parse_kibana_state.js @@ -51,4 +51,4 @@ class KibanaState { export function parseKibanaState(query, type) { return new KibanaState(query, type); -} \ No newline at end of file +} diff --git a/x-pack/server/lib/register_license_checker/index.js b/x-pack/server/lib/register_license_checker/index.js index 8f888af8f886..7b0f97c38d12 100644 --- a/x-pack/server/lib/register_license_checker/index.js +++ b/x-pack/server/lib/register_license_checker/index.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -export { registerLicenseChecker } from './register_license_checker'; \ No newline at end of file +export { registerLicenseChecker } from './register_license_checker'; diff --git a/x-pack/tasks/test.js b/x-pack/tasks/test.js index 3016e314098e..7e403bfddf5b 100644 --- a/x-pack/tasks/test.js +++ b/x-pack/tasks/test.js @@ -52,4 +52,4 @@ export default (gulp, { mocha }) => { }); }); }); -}; \ No newline at end of file +}; diff --git a/x-pack/test/api_integration/services/index.js b/x-pack/test/api_integration/services/index.js index 5003927b5332..96d349f84862 100644 --- a/x-pack/test/api_integration/services/index.js +++ b/x-pack/test/api_integration/services/index.js @@ -8,4 +8,4 @@ export { EsProvider } from './es'; export { EsSupertestWithoutAuthProvider } from './es_supertest_without_auth'; export { SupertestWithoutAuthProvider } from './supertest_without_auth'; export { UsageAPIProvider } from './usage_api'; -export { InfraOpsGraphQLProvider } from './infraops_graphql_client'; \ No newline at end of file +export { InfraOpsGraphQLProvider } from './infraops_graphql_client';