diff --git a/.eslintrc.js b/.eslintrc.js index 2995d4fc8ac60..7c9f6a962d67f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -199,7 +199,7 @@ module.exports = { /** * Files that require Apache 2.0 headers, settings - * are overriden below for files that require Elastic + * are overridden below for files that require Elastic * Licence headers */ { diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2188e39124c61..37be08bf25a2b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -111,7 +111,7 @@ You want to make sure there are no merge conflicts. If there are merge conflicts You can use `git status` to see which files contain conflicts. They'll be the ones that aren't staged for commit. Open those files, and look for where git has marked the conflicts. Resolve the conflicts so that the changes you want to make to the code have been incorporated in a way that doesn't destroy work that's been done in master. Refer to master's commit history on GitHub if you need to gain a better understanding of how code is conflicting and how best to resolve it. -Once you've resolved all of the merge conflicts, use `git add -A` to stage them to be commiteed, and then use `git rebase --continue` to tell git to continue the rebase. +Once you've resolved all of the merge conflicts, use `git add -A` to stage them to be committed, and then use `git rebase --continue` to tell git to continue the rebase. When the rebase has completed, you will need to force push your branch because the history is now completely different than what's on the remote. **This is potentially dangerous** because it will completely overwrite what you have on the remote, so you need to be sure that you haven't lost any work when resolving merge conflicts. (If there weren't any merge conflicts, then you can force push without having to worry about this.) @@ -404,7 +404,7 @@ Please make sure you have signed the [Contributor License Agreement](http://www. ## Submitting a Pull Request -Push your local changes to your forked copy of the repository and submit a Pull Request. In the Pull Request, describe what your changes do and mention the number of the issue where discussion has taken place, eg “Closes #123″. +Push your local changes to your forked copy of the repository and submit a Pull Request. In the Pull Request, describe what your changes do and mention the number of the issue where discussion has taken place, e.g., “Closes #123″. Always submit your pull against `master` unless the bug is only present in an older version. If the bug affects both `master` and another branch say so in your pull. diff --git a/docs/dashboard.asciidoc b/docs/dashboard.asciidoc index 1d03b9b347331..be483c4219eda 100644 --- a/docs/dashboard.asciidoc +++ b/docs/dashboard.asciidoc @@ -90,7 +90,7 @@ image:images/Dashboard_visualization_data.png[Example of visualization data] To export the visualization data as a comma separated values (CSV) file, click *Raw* or *Formatted* at the bottom of the data table. *Raw* exports the response data as provided. *Formatted* -exports the reponse data using applicable Kibana <>. To return to the visualization, click the *Collapse* button in the lower left diff --git a/docs/development/core/development-functional-tests.asciidoc b/docs/development/core/development-functional-tests.asciidoc index 32f27df4e0401..79cf583726881 100644 --- a/docs/development/core/development-functional-tests.asciidoc +++ b/docs/development/core/development-functional-tests.asciidoc @@ -92,7 +92,7 @@ The `FunctionalTestRunner` automatically transpiles functional tests using babel Code run by the `FunctionalTestRunner` is wrapped in a function so it can be passed around via config files and be parameterized. Any of these Provider functions may be asynchronous and should return/resolve-to the value they are meant to _provide_. Provider functions will always be called with a single argument: a provider API (see the <>). -A config provder: +A config provider: ["source","js"] ----------- diff --git a/docs/development/plugin/development-plugin-functional-tests.asciidoc b/docs/development/plugin/development-plugin-functional-tests.asciidoc index dec7c58e1ed4f..c3b92741c1405 100644 --- a/docs/development/plugin/development-plugin-functional-tests.asciidoc +++ b/docs/development/plugin/development-plugin-functional-tests.asciidoc @@ -34,7 +34,7 @@ export default async function ({ readConfigFile }) { // define the name and providers for services that should be // available to your tests. If you don't specify anything here - // only the built-in services will be avaliable + // only the built-in services will be available services: { ...kibanaConfig.get('services'), myService: MyServiceProvider, diff --git a/docs/development/visualize/development-create-visualization.asciidoc b/docs/development/visualize/development-create-visualization.asciidoc index 6e0d90791434a..437b4ff9e5f3d 100644 --- a/docs/development/visualize/development-create-visualization.asciidoc +++ b/docs/development/visualize/development-create-visualization.asciidoc @@ -81,7 +81,7 @@ Each of the factories have some of the custom parameters, which will be describe [[development-base-visualization-type]] ==== Base Visualization Type The base visualization type does not make any assumptions about the rendering technology you are going to use and -works with pure Javascript. It is the visualization type we recommend to use. +works with pure JavaScript. It is the visualization type we recommend to use. You need to provide a type with a constructor function, a render method which will be called every time options or data change, and a destroy method which will be called to cleanup. @@ -387,7 +387,7 @@ import { VisFactoryProvider } from 'ui/vis/vis_factory'; const myResponseHandler = (vis, response) => { // transform the response (based on vis object?) - const resposne = ... transform data ...; + const response = ... transform data ...; return response; }; diff --git a/docs/development/visualize/development-embedding-visualizations.asciidoc b/docs/development/visualize/development-embedding-visualizations.asciidoc index 421d04b8a5b6c..771b49d4deaee 100644 --- a/docs/development/visualize/development-embedding-visualizations.asciidoc +++ b/docs/development/visualize/development-embedding-visualizations.asciidoc @@ -49,7 +49,7 @@ found. It will reject, if the `id` is invalid. The returned `EmbeddedVisualizeHandler` itself has the following methods and properties: -- `destroy()`: destroys the underlying Angualr scope of the visualization +- `destroy()`: destroys the underlying Angular scope of the visualization - `getElement()`: a reference to the jQuery wrapped DOM element, that renders the visualization - `whenFirstRenderComplete()`: will return a promise, that resolves as soon as the visualization has finished rendering for the first time diff --git a/docs/management.asciidoc b/docs/management.asciidoc index e37a422516952..909c5d3312548 100644 --- a/docs/management.asciidoc +++ b/docs/management.asciidoc @@ -9,7 +9,7 @@ patterns, advanced settings that tweak the behaviors of Kibana itself, and the various "objects" that you can save throughout Kibana such as searches, visualizations, and dashboards. -This section is pluginable, so in addition to the out of the box capabitilies, +This section is pluginable, so in addition to the out of the box capabilities, packs such as {xpack} can add additional management capabilities to Kibana. -- diff --git a/docs/management/managing-fields.asciidoc b/docs/management/managing-fields.asciidoc index b2170ac3ea8fa..dbb4a30835c89 100644 --- a/docs/management/managing-fields.asciidoc +++ b/docs/management/managing-fields.asciidoc @@ -77,7 +77,7 @@ options are {ref}/modules-scripting-expression.html[Lucene expressions] and {ref While you can use other scripting languages if you enable dynamic scripting for them in Elasticsearch, this is not recommended because they cannot be sufficiently {ref}/modules-scripting-security.html[sandboxed]. -WARNING: Use of Groovy, Javascript, and Python scripting is deprecated starting in Elasticsearch 5.0, and support for those +WARNING: Use of Groovy, JavaScript, and Python scripting is deprecated starting in Elasticsearch 5.0, and support for those scripting languages will be removed in the future. You can reference any single value numeric field in your expressions, for example: diff --git a/docs/monitoring/monitoring-xkib.asciidoc b/docs/monitoring/monitoring-xkib.asciidoc index 02602659cee9d..6a451308860fd 100644 --- a/docs/monitoring/monitoring-xkib.asciidoc +++ b/docs/monitoring/monitoring-xkib.asciidoc @@ -61,7 +61,7 @@ used when {kib} sends monitoring data to the production cluster. .. Configure {kib} to encrypt communications between the {kib} server and the production cluster. This set up involves generating a server certificate and -setting `server.ssl.*` and `elasticsearch.ssl.certitifcateAuthorities` settings +setting `server.ssl.*` and `elasticsearch.ssl.certificateAuthorities` settings in the `kibana.yml` file on the {kib} server. For example: + -- diff --git a/docs/reporting/chromium-sandbox.asciidoc b/docs/reporting/chromium-sandbox.asciidoc index 6b2b07d275640..cada21c422a4e 100644 --- a/docs/reporting/chromium-sandbox.asciidoc +++ b/docs/reporting/chromium-sandbox.asciidoc @@ -19,6 +19,6 @@ recommended to enable usernamespaces and set `xpack.reporting.capture.browser.ch `kibana.yml` to enable the sandbox. ==== Docker -When runnning Kibana in a Docker container, all container processes are run within a usernamespace with seccomp-bpf and +When running Kibana in a Docker container, all container processes are run within a usernamespace with seccomp-bpf and AppArmor profiles that prevent the Chromium sandbox from being used. In these situations, disabling the sandbox is recommended, as the container implements similar security mechanisms. \ No newline at end of file diff --git a/docs/reporting/development/csv-integration.asciidoc b/docs/reporting/development/csv-integration.asciidoc index 05e08394b5c8b..a2280f3808053 100644 --- a/docs/reporting/development/csv-integration.asciidoc +++ b/docs/reporting/development/csv-integration.asciidoc @@ -21,7 +21,7 @@ interface jobParameters { } ---- -The `searchRequest.body` should abide by the {ref}/search-request-body.html[Elasticsearch Seach Request Body] syntax +The `searchRequest.body` should abide by the {ref}/search-request-body.html[Elasticsearch Search Request Body] syntax [float] ==== `export-config` Directive @@ -48,4 +48,4 @@ function getSharingTitle() string; ---- -The `sharingData.searchRequest.body` should abide by the {ref}/search-request-body.html[Elasticsearch Seach Request Body] syntax \ No newline at end of file +The `sharingData.searchRequest.body` should abide by the {ref}/search-request-body.html[Elasticsearch Search Request Body] syntax \ No newline at end of file diff --git a/docs/reporting/development/index.asciidoc b/docs/reporting/development/index.asciidoc index d91de882a8d51..f24fe2bd2954d 100644 --- a/docs/reporting/development/index.asciidoc +++ b/docs/reporting/development/index.asciidoc @@ -1,7 +1,7 @@ [role="xpack"] [[reporting-integration]] == Reporting Integration -Intergrating a Kibana application with {reporting} requires a minimum amount of code, and the goal is to not have to +Integrating a Kibana application with {reporting} requires a minimum amount of code, and the goal is to not have to modify the Reporting code as we add additional applications. Instead, applications abide by a contract that Reporting uses to determine the information that is required to export CSVs and PDFs. diff --git a/docs/reporting/reporting-troubleshooting.asciidoc b/docs/reporting/reporting-troubleshooting.asciidoc index 1a13a1e707170..5576033421b63 100644 --- a/docs/reporting/reporting-troubleshooting.asciidoc +++ b/docs/reporting/reporting-troubleshooting.asciidoc @@ -19,7 +19,7 @@ an explanation of why the failure occurred and what you can do to fix it. [float] ==== `You must install fontconfig and freetype for Reporting to work'` Reporting using PhantomJS, the default browser, relies on system packages. Install the appropriate fontconfig and freetype -packages for your distrobution. +packages for your distribution. [float] ==== `Max attempts reached (3)` @@ -35,16 +35,16 @@ setting. If the PDF report fails with "Max attempts reached (3)," check your < { throw new Error( - `Proc "${name}" was stopped but never emiited either the "exit" or "error" event after ${STOP_TIMEOUT} ms` + `Proc "${name}" was stopped but never emitted either the "exit" or "error" event after ${STOP_TIMEOUT} ms` ); } ); diff --git a/packages/kbn-dev-utils/src/streams/promise_from_streams.js b/packages/kbn-dev-utils/src/streams/promise_from_streams.js index c6e76b7a99411..e44270142836b 100644 --- a/packages/kbn-dev-utils/src/streams/promise_from_streams.js +++ b/packages/kbn-dev-utils/src/streams/promise_from_streams.js @@ -27,7 +27,7 @@ * If the last stream is readable, it's final value * will be provided as the promise value. * - * Errors emmitted from any stream will cause + * Errors emitted from any stream will cause * the promise to be rejected with that error. * * @param {Array} streams diff --git a/packages/kbn-dev-utils/src/tooling_log/__tests__/log.js b/packages/kbn-dev-utils/src/tooling_log/__tests__/log.js index a07b5162d4824..fbbd23869c3ab 100644 --- a/packages/kbn-dev-utils/src/tooling_log/__tests__/log.js +++ b/packages/kbn-dev-utils/src/tooling_log/__tests__/log.js @@ -91,7 +91,7 @@ describe('utils: createToolingLog(logLevel, output)', () => { }); describe('invalid logLevel', () => { it('throw error', () => { - // avoid the impossiblity that a valid level is generated + // avoid the impossibility that a valid level is generated // by specifying a long length const level = chance.word({ length: 10 }); diff --git a/packages/kbn-dev-utils/src/tooling_log/__tests__/log_levels.js b/packages/kbn-dev-utils/src/tooling_log/__tests__/log_levels.js index fafd0b28aa9df..cedfde5261a5b 100644 --- a/packages/kbn-dev-utils/src/tooling_log/__tests__/log_levels.js +++ b/packages/kbn-dev-utils/src/tooling_log/__tests__/log_levels.js @@ -104,7 +104,7 @@ describe('parseLogLevel(logLevel).flags', () => { describe('invalid logLevel', () => { it('throws error', () => { - // avoid the impossiblity that a valid level is generated + // avoid the impossibility that a valid level is generated // by specifying a long length const level = chance.word({ length: 10 }); diff --git a/packages/kbn-es/src/install/archive.js b/packages/kbn-es/src/install/archive.js index 8b1213c707efa..048bb467e37ec 100644 --- a/packages/kbn-es/src/install/archive.js +++ b/packages/kbn-es/src/install/archive.js @@ -67,7 +67,7 @@ exports.installArchive = async function installArchive(archive, options = {}) { }; /** - * Recurive deletion for a directory + * Recursive deletion for a directory * * @param {String} path */ diff --git a/packages/kbn-es/src/install/snapshot.js b/packages/kbn-es/src/install/snapshot.js index 131a1d506ef7f..d568f6a207a71 100644 --- a/packages/kbn-es/src/install/snapshot.js +++ b/packages/kbn-es/src/install/snapshot.js @@ -69,7 +69,7 @@ exports.installSnapshot = async function installSnapshot({ * @param {String} url * @param {String} dest * @param {ToolingLog} log - * @returns {Promose} + * @returns {Promise} */ function downloadFile(url, dest, log) { const downloadPath = `${dest}.tmp`; diff --git a/packages/kbn-es/src/utils/__snapshots__/parse_es_log.test.js.snap b/packages/kbn-es/src/utils/__snapshots__/parse_es_log.test.js.snap index 127dd95f4885b..a1c63876aa0b3 100644 --- a/packages/kbn-es/src/utils/__snapshots__/parse_es_log.test.js.snap +++ b/packages/kbn-es/src/utils/__snapshots__/parse_es_log.test.js.snap @@ -1,8 +1,8 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parses data containing execption 1`] = `"[o.e.n.Node] [qEfPPg8] starting ..."`; +exports[`parses data containing exception 1`] = `"[o.e.n.Node] [qEfPPg8] starting ..."`; -exports[`parses data containing execption 2`] = ` +exports[`parses data containing exception 2`] = ` "[o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: BindHttpException; nested: BindException[Address already in use]; at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-7.0.0.jar:7.0.0-alpha1-SNAPSHOT] @@ -15,7 +15,7 @@ Caused by: java.net.BindException: Address already in use at java.lang.Thread.run(Thread.java:844) [?:?]" `; -exports[`parses data containing execption 3`] = `"[o.e.g.GatewayService] [qEfPPg8] recovered [0] indices into cluster_state"`; +exports[`parses data containing exception 3`] = `"[o.e.g.GatewayService] [qEfPPg8] recovered [0] indices into cluster_state"`; exports[`parses multiple lines 1`] = `"[o.e.p.PluginsService] [qEfPPg8] loaded plugin [x-pack-security]"`; diff --git a/packages/kbn-es/src/utils/extract_config_files.js b/packages/kbn-es/src/utils/extract_config_files.js index 38eab6952c3d5..428cd8ea0d4fc 100644 --- a/packages/kbn-es/src/utils/extract_config_files.js +++ b/packages/kbn-es/src/utils/extract_config_files.js @@ -23,7 +23,7 @@ const mkdirp = require('mkdirp'); /** * Copies config references to an absolute path to - * the provided destination. This is necicary as ES security + * the provided destination. This is necessary as ES security * requires files to be within the installation directory * * @param {Array} config diff --git a/packages/kbn-es/src/utils/parse_es_log.test.js b/packages/kbn-es/src/utils/parse_es_log.test.js index 9c21c6ebf1585..90da0e83d22f7 100644 --- a/packages/kbn-es/src/utils/parse_es_log.test.js +++ b/packages/kbn-es/src/utils/parse_es_log.test.js @@ -42,7 +42,7 @@ test('parses multiple lines', () => { expect(lines[1].message).toMatchSnapshot(); }); -test('parses data containing execption', () => { +test('parses data containing exception', () => { const data = dedent(` [2018-02-23T10:13:45,646][INFO ][o.e.n.Node ] [qEfPPg8] starting ... [2018-02-23T10:13:53,992][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] diff --git a/packages/kbn-eslint-import-resolver-kibana/lib/resolve_webpack_alias.js b/packages/kbn-eslint-import-resolver-kibana/lib/resolve_webpack_alias.js index d4b483f9e4448..a7bb391f9b1c6 100644 --- a/packages/kbn-eslint-import-resolver-kibana/lib/resolve_webpack_alias.js +++ b/packages/kbn-eslint-import-resolver-kibana/lib/resolve_webpack_alias.js @@ -18,7 +18,7 @@ */ /** - * Attempt to apply basic webpack alias transfomations so we can + * Attempt to apply basic webpack alias transformations so we can * avoid triggering the webpack resolver for many imports * * @param {string} source diff --git a/packages/kbn-plugin-helpers/tasks/test/browser/README.md b/packages/kbn-plugin-helpers/tasks/test/browser/README.md index b2ef9ba0d9991..29e748396b6ec 100644 --- a/packages/kbn-plugin-helpers/tasks/test/browser/README.md +++ b/packages/kbn-plugin-helpers/tasks/test/browser/README.md @@ -31,7 +31,7 @@ tests when necessary. You access the test runner through a browser that it start If your plugin consists of a number of internal plugins, you may wish to keep the tests isolated to a specific plugin or plugins, instead of executing all of the tests. To do this, -use `--plugins` and passing the plugins you would like to test. Muliple plugins can be +use `--plugins` and passing the plugins you would like to test. Multiple plugins can be specified by separating them with commas. diff --git a/packages/kbn-pm/README.md b/packages/kbn-pm/README.md index 1304575af71d7..c698b6985b857 100644 --- a/packages/kbn-pm/README.md +++ b/packages/kbn-pm/README.md @@ -123,7 +123,7 @@ For more details, run: yarn kbn ``` -Bootstrapping also calls the `kbn:boostrap` script for every included project. +Bootstrapping also calls the `kbn:bootstrap` script for every included project. This is intended for packages that need to be built/transpiled to be usable. ### Running scripts diff --git a/packages/kbn-test-subj-selector/index.js b/packages/kbn-test-subj-selector/index.js index c92d4b8f80fc2..317f8eca46335 100755 --- a/packages/kbn-test-subj-selector/index.js +++ b/packages/kbn-test-subj-selector/index.js @@ -17,7 +17,7 @@ * under the License. */ -function seletorToTerms(selector) { +function selectorToTerms(selector) { return selector .replace(/\s*&\s*/g, '&') // remove all whitespace around joins .split(/\s+/); @@ -29,7 +29,7 @@ function termToCssSelector(term) { module.exports = function testSubjSelector(selector) { const cssSelectors = []; - const terms = seletorToTerms(selector); + const terms = selectorToTerms(selector); while (terms.length) { const term = terms.shift(); diff --git a/packages/kbn-test/src/es/rmrf_sync.js b/packages/kbn-test/src/es/rmrf_sync.js index dafbfb1661479..51cd8369f397c 100644 --- a/packages/kbn-test/src/es/rmrf_sync.js +++ b/packages/kbn-test/src/es/rmrf_sync.js @@ -20,7 +20,7 @@ import * as fs from 'fs'; /** - * Recurive deletion for a directory + * Recursive deletion for a directory * * @param {String} path */ diff --git a/packages/kbn-ui-framework/doc_site/src/views/popover/popover_example.js b/packages/kbn-ui-framework/doc_site/src/views/popover/popover_example.js index 9893b443748e3..7b7553d0f7850 100644 --- a/packages/kbn-ui-framework/doc_site/src/views/popover/popover_example.js +++ b/packages/kbn-ui-framework/doc_site/src/views/popover/popover_example.js @@ -104,7 +104,7 @@ export default props => ( Popovers often have need for titling. This can be applied through a prop or used separately as its own component - KuiPopoverTitle nested somwhere in the child + KuiPopoverTitle nested somewhere in the child prop. @@ -125,7 +125,7 @@ export default props => ( > The alignment and arrow on your popover can be set with - the anchorPostion prop. + the anchorPosition prop. diff --git a/packages/kbn-ui-framework/doc_site/src/views/status_text/status_text_success.html b/packages/kbn-ui-framework/doc_site/src/views/status_text/status_text_success.html index 4ddb0a950c0dc..4d3f2201f0c6d 100644 --- a/packages/kbn-ui-framework/doc_site/src/views/status_text/status_text_success.html +++ b/packages/kbn-ui-framework/doc_site/src/views/status_text/status_text_success.html @@ -1,6 +1,6 @@

- Eveything is OK + Everything is OK

diff --git a/packages/kbn-ui-framework/doc_site/src/views/tabs/tabs.js b/packages/kbn-ui-framework/doc_site/src/views/tabs/tabs.js index 89f1f8bacda75..5d34f408bec2c 100644 --- a/packages/kbn-ui-framework/doc_site/src/views/tabs/tabs.js +++ b/packages/kbn-ui-framework/doc_site/src/views/tabs/tabs.js @@ -38,7 +38,7 @@ class KuiTabsExample extends React.Component { id: 'helium_3', name: 'Helium-3', }, { - id: 'monosodium_glutammate', + id: 'monosodium_glutamate', name: 'Monosodium Glutamate', }]; diff --git a/packages/kbn-ui-framework/doc_site/webpack.config.js b/packages/kbn-ui-framework/doc_site/webpack.config.js index 1b2fc37c1976b..618f2ee86a0fd 100644 --- a/packages/kbn-ui-framework/doc_site/webpack.config.js +++ b/packages/kbn-ui-framework/doc_site/webpack.config.js @@ -32,7 +32,7 @@ module.exports = { filename: 'bundle.js' }, - // These are necessasry for using Enzyme with Webpack (https://github.com/airbnb/enzyme/blob/master/docs/guides/webpack.md). + // These are necessary for using Enzyme with Webpack (https://github.com/airbnb/enzyme/blob/master/docs/guides/webpack.md). externals: { 'react/lib/ExecutionEnvironment': true, 'react/lib/ReactContext': true, diff --git a/packages/kbn-ui-framework/src/components/accessibility/__snapshots__/screen_reader.test.js.snap b/packages/kbn-ui-framework/src/components/accessibility/__snapshots__/screen_reader.test.js.snap index b1f99be5c72b5..f74af41e6a17b 100644 --- a/packages/kbn-ui-framework/src/components/accessibility/__snapshots__/screen_reader.test.js.snap +++ b/packages/kbn-ui-framework/src/components/accessibility/__snapshots__/screen_reader.test.js.snap @@ -4,7 +4,7 @@ exports[`KuiScreenReaderOnly adds an accessibility class to a child element and

- This paragraph is not visibile to sighted users but will be read by screenreaders. + This paragraph is not visible to sighted users but will be read by screenreaders.

`; @@ -12,6 +12,6 @@ exports[`KuiScreenReaderOnly adds an accessibility class to a child element when

- This paragraph is not visibile to sighted users but will be read by screenreaders. + This paragraph is not visible to sighted users but will be read by screenreaders.

`; diff --git a/packages/kbn-ui-framework/src/components/accessibility/screen_reader.test.js b/packages/kbn-ui-framework/src/components/accessibility/screen_reader.test.js index 9cf6377ce312b..8f8ea14fb87c2 100644 --- a/packages/kbn-ui-framework/src/components/accessibility/screen_reader.test.js +++ b/packages/kbn-ui-framework/src/components/accessibility/screen_reader.test.js @@ -28,7 +28,7 @@ describe('KuiScreenReaderOnly', () => { const $paragraph = render(

- This paragraph is not visibile to sighted users but will be read by + This paragraph is not visible to sighted users but will be read by screenreaders.

@@ -41,7 +41,7 @@ describe('KuiScreenReaderOnly', () => { const $paragraph = render(

- This paragraph is not visibile to sighted users but will be read by + This paragraph is not visible to sighted users but will be read by screenreaders.

diff --git a/packages/kbn-ui-framework/src/components/button/_index.scss b/packages/kbn-ui-framework/src/components/button/_index.scss index 832a2bb1a0d76..64ccc5c141e32 100644 --- a/packages/kbn-ui-framework/src/components/button/_index.scss +++ b/packages/kbn-ui-framework/src/components/button/_index.scss @@ -42,7 +42,7 @@ $buttonWarningHoverBackgroundColor: darken($buttonWarningBackgroundColor, 10%); $buttonWarningDisabledBackgroundColor: lighten($buttonWarningBackgroundColor, 10%); // Hollow -$buttonHollowDiabledTextColor: #dddddd; +$buttonHollowDisabledTextColor: #dddddd; @import "button"; @import "button_group/button_group"; diff --git a/packages/kbn-ui-framework/src/components/code_editor/code_editor.test.js b/packages/kbn-ui-framework/src/components/code_editor/code_editor.test.js index d223c6cd57dc5..f4b609e2e1b76 100644 --- a/packages/kbn-ui-framework/src/components/code_editor/code_editor.test.js +++ b/packages/kbn-ui-framework/src/components/code_editor/code_editor.test.js @@ -76,7 +76,7 @@ describe('KuiCodeEditor', () => { }); describe('interaction', () => { - test('bluring the ace textbox should call a passed onBlur prop', () => { + test('blurring the ace textbox should call a passed onBlur prop', () => { const blurSpy = sinon.spy(); const el = mount(); el.instance().onBlurAce(); diff --git a/packages/kbn-ui-framework/src/components/index.scss b/packages/kbn-ui-framework/src/components/index.scss index 9c93168ee33e4..1ab67ffd28030 100644 --- a/packages/kbn-ui-framework/src/components/index.scss +++ b/packages/kbn-ui-framework/src/components/index.scss @@ -1,7 +1,7 @@ // -------------------------------------------------------------------------------------- // Kibana UI framework // -------------------------------------------------------------------------------------- -// This libray will eventually contain all styles used throughout Kibana. Currently it +// This library will eventually contain all styles used throughout Kibana. Currently it // only covers a portion of the components. The processed css from this library currently // loads on top of other CSS (itself generated from LESS files) contained in /ui/*/*.less // files. This includes some base LESS files (including bootstrap) that can be found in diff --git a/packages/kbn-ui-framework/src/components/modal/confirm_modal.test.js b/packages/kbn-ui-framework/src/components/modal/confirm_modal.test.js index ebad0489c7d41..c2713bebffd91 100644 --- a/packages/kbn-ui-framework/src/components/modal/confirm_modal.test.js +++ b/packages/kbn-ui-framework/src/components/modal/confirm_modal.test.js @@ -68,7 +68,7 @@ test('onConfirm', () => { }); describe('onCancel', () => { - test('triggerd by click', () => { + test('triggered by click', () => { const component = mount( * + * { - margin-left: $toolBarItsemSpacing; /* 1 */ + margin-left: $toolBarItemSpacing; /* 1 */ } flex: 1 1 auto; diff --git a/packages/kbn-ui-framework/src/components/typography/_index.scss b/packages/kbn-ui-framework/src/components/typography/_index.scss index 73025d8f01986..eae8c46d0f5cb 100644 --- a/packages/kbn-ui-framework/src/components/typography/_index.scss +++ b/packages/kbn-ui-framework/src/components/typography/_index.scss @@ -1,2 +1,2 @@ -$typcographyTitleFontSize: 22px; +$typographyTitleFontSize: 22px; @import "typography"; diff --git a/packages/kbn-ui-framework/src/components/typography/_typography.scss b/packages/kbn-ui-framework/src/components/typography/_typography.scss index 5d6e7aa892db2..6c69d072cd640 100644 --- a/packages/kbn-ui-framework/src/components/typography/_typography.scss +++ b/packages/kbn-ui-framework/src/components/typography/_typography.scss @@ -4,7 +4,7 @@ .kuiTitle { margin: 0; /* 1 */ font-weight: $kuiFontWeightRegular; /* 1 */ - font-size: $typcographyTitleFontSize; + font-size: $typographyTitleFontSize; @include darkTheme { color: $kuiTextColor--darkTheme; diff --git a/packages/kbn-ui-framework/src/global_styling/mixins/_global_mixins.scss b/packages/kbn-ui-framework/src/global_styling/mixins/_global_mixins.scss index 8c40658ca7606..b03a181e16e6d 100644 --- a/packages/kbn-ui-framework/src/global_styling/mixins/_global_mixins.scss +++ b/packages/kbn-ui-framework/src/global_styling/mixins/_global_mixins.scss @@ -279,7 +279,7 @@ } & > * + * { - margin-left: $toolBarItsemSpacing; /* 1 */ + margin-left: $toolBarItemSpacing; /* 1 */ } } diff --git a/packages/kbn-ui-framework/src/global_styling/variables/_tool_bar.scss b/packages/kbn-ui-framework/src/global_styling/variables/_tool_bar.scss index 7963b83d2b871..3bf0ce48f3e62 100644 --- a/packages/kbn-ui-framework/src/global_styling/variables/_tool_bar.scss +++ b/packages/kbn-ui-framework/src/global_styling/variables/_tool_bar.scss @@ -1,4 +1,4 @@ $toolBarHeight: 50px; $toolBarPadding: 10px; $toolBarSectionSpacing: 50px; -$toolBarItsemSpacing: 10px; +$toolBarItemSpacing: 10px; diff --git a/src/cli/cluster/worker.test.js b/src/cli/cluster/worker.test.js index 6577fe27260bb..c166956bcbf34 100644 --- a/src/cli/cluster/worker.test.js +++ b/src/cli/cluster/worker.test.js @@ -124,7 +124,7 @@ describe('CLI cluster manager', function () { }); describe('do after', function () { - it('ignores non-array messsages', function () { + it('ignores non-array messages', function () { const worker = setup(); worker.parseIncomingMessage('some string thing'); worker.parseIncomingMessage(0); @@ -165,7 +165,7 @@ describe('CLI cluster manager', function () { }); }); - describe('when passed an unkown message', function () { + describe('when passed an unknown message', function () { it('does nothing', function () { const worker = setup(); worker.onMessage('asdlfkajsdfahsdfiohuasdofihsdoif'); diff --git a/src/cli_plugin/install/rename.test.js b/src/cli_plugin/install/rename.test.js index 2ba3ce9afc998..a997cbba3f15c 100644 --- a/src/cli_plugin/install/rename.test.js +++ b/src/cli_plugin/install/rename.test.js @@ -57,7 +57,7 @@ describe('plugin folder rename', function () { expect(renameStub.callCount).toBe(1); }) .catch(function () { - throw new Error('We shouln\'t have any errors'); + throw new Error('We shouldn\'t have any errors'); }); }); diff --git a/src/cli_plugin/lib/error_if_x_pack.js b/src/cli_plugin/lib/error_if_x_pack.js index b005ab8fef792..cfa0558c301fe 100644 --- a/src/cli_plugin/lib/error_if_x_pack.js +++ b/src/cli_plugin/lib/error_if_x_pack.js @@ -42,7 +42,7 @@ export function errorIfXPackInstall(settings) { export function errorIfXPackRemove(settings) { if (isXPack(settings.plugin) && !isOSS()) { throw new Error( - 'You are using the standard distrbution of Kibana. Please install the OSS-only distribution to remove X-Pack features.' + 'You are using the standard distribution of Kibana. Please install the OSS-only distribution to remove X-Pack features.' ); } } diff --git a/src/core_plugins/console/public/src/__tests__/utils.js b/src/core_plugins/console/public/src/__tests__/utils.js index f1260fd8fa83f..5863923c82718 100644 --- a/src/core_plugins/console/public/src/__tests__/utils.js +++ b/src/core_plugins/console/public/src/__tests__/utils.js @@ -23,12 +23,12 @@ import utils from '../utils'; describe('console utils', () => { describe('collapseLiteralStrings', () => { - it('will collapse multinline strings', () => { + it('will collapse multiline strings', () => { const multiline = '{ "foo": """bar\nbaz""" }'; expect(utils.collapseLiteralStrings(multiline)).to.be('{ "foo": "bar\\nbaz" }'); }); - it('will collapse multinline strings with CRLF endings', () => { + it('will collapse multiline strings with CRLF endings', () => { const multiline = '{ "foo": """bar\r\nbaz""" }'; expect(utils.collapseLiteralStrings(multiline)).to.be('{ "foo": "bar\\r\\nbaz" }'); }); diff --git a/src/core_plugins/console/public/src/autocomplete.js b/src/core_plugins/console/public/src/autocomplete.js index e5b8703694bf2..027e34463e075 100644 --- a/src/core_plugins/console/public/src/autocomplete.js +++ b/src/core_plugins/console/public/src/autocomplete.js @@ -874,7 +874,7 @@ export default function (editor) { case 'paren.rparen': case 'punctuation.colon': case 'punctuation.comma': - case 'UNKOWN': + case 'UNKNOWN': return; } diff --git a/src/core_plugins/console/public/src/curl.js b/src/core_plugins/console/public/src/curl.js index b1a4dd97bb231..806540922ecf1 100644 --- a/src/core_plugins/console/public/src/curl.js +++ b/src/core_plugins/console/public/src/curl.js @@ -127,7 +127,7 @@ export function parseCURL(text) { verb = matches[1]; } - // JS regexen don't support possesive quantifiers, so + // JS regexen don't support possessive quantifiers, so // we need two distinct patterns const pattern = HasProtocol.test(line) ? CurlRequestWithProto diff --git a/src/core_plugins/console/public/src/mappings.js b/src/core_plugins/console/public/src/mappings.js index b782b324d3887..dad9e2b44728c 100644 --- a/src/core_plugins/console/public/src/mappings.js +++ b/src/core_plugins/console/public/src/mappings.js @@ -231,7 +231,7 @@ function loadMappings(mappings) { function loadAliases(aliases) { perAliasIndexes = {}; $.each(aliases || {}, function (index, omdexAliases) { - // verify we have an index defined. usefull when mapping loading is disabled + // verify we have an index defined. useful when mapping loading is disabled perIndexTypes[index] = perIndexTypes[index] || {}; $.each(omdexAliases.aliases || {}, function (alias) { diff --git a/src/core_plugins/console/public/src/sense_editor/mode/worker/worker.js b/src/core_plugins/console/public/src/sense_editor/mode/worker/worker.js index 539a0cbc5242f..1cc626cfa668b 100644 --- a/src/core_plugins/console/public/src/sense_editor/mode/worker/worker.js +++ b/src/core_plugins/console/public/src/sense_editor/mode/worker/worker.js @@ -1,7 +1,7 @@ /* eslint-disable */ /* This file is loaded up as a blob by Brace to hand to Ace to load as Jsonp - (hence the redefinining of everything). It is based on the javascript + (hence the redefining of everything). It is based on the javascript mode from the brace distro. */ diff --git a/src/core_plugins/console/public/tests/src/editor.test.js b/src/core_plugins/console/public/tests/src/editor.test.js index dbce3cbb08ee4..33420193c8e4e 100644 --- a/src/core_plugins/console/public/tests/src/editor.test.js +++ b/src/core_plugins/console/public/tests/src/editor.test.js @@ -219,13 +219,13 @@ describe('Editor', () => { utilsTest( 'full url: single line request data', - 'POST https://somehoset/_search', + 'POST https://somehost/_search', singleLineRequest.data, function () { input.getRequest(function (request) { const expected = { method: 'POST', - url: 'https://somehoset/_search', + url: 'https://somehost/_search', data: [singleLineRequest.data], }; diff --git a/src/core_plugins/console/public/tests/src/input_tokenization.test.js b/src/core_plugins/console/public/tests/src/input_tokenization.test.js index dff03288ee31f..cd242fa056f4a 100644 --- a/src/core_plugins/console/public/tests/src/input_tokenization.test.js +++ b/src/core_plugins/console/public/tests/src/input_tokenization.test.js @@ -379,7 +379,7 @@ describe('Input Tokenization', () => { ['start', 'json', ['string_literal', 'json'], ['string_literal', 'json'], 'json', 'start'], 'POST _search\n' + '{\n' + - ' "somthing": """\n' + + ' "something": """\n' + ' test script\n' + ' """,\n' + '}' @@ -391,7 +391,7 @@ describe('Input Tokenization', () => { 'json', 'start'], 'POST _search\n' + '{\n' + - ' "somthing": { "f" : """\n' + + ' "something": { "f" : """\n' + ' test script\n' + ' """,\n' + ' "g": 1\n' + diff --git a/src/core_plugins/console/public/tests/src/utils_string_collapsing.txt b/src/core_plugins/console/public/tests/src/utils_string_collapsing.txt index d9c2e4d043e28..235151317377f 100644 --- a/src/core_plugins/console/public/tests/src/utils_string_collapsing.txt +++ b/src/core_plugins/console/public/tests/src/utils_string_collapsing.txt @@ -9,10 +9,10 @@ to you """ String only 2 ------------------------------------- """ -startning with new lines and ending as well +starting with new lines and ending as well """ ------------------------------------- -"startning with new lines and ending as well" +"starting with new lines and ending as well" ========== Strings in requests ------------------------------------- diff --git a/src/core_plugins/console/public/webpackShims/ui-bootstrap-custom.js b/src/core_plugins/console/public/webpackShims/ui-bootstrap-custom.js index 3f845cf79e170..55ebc7aba8e47 100755 --- a/src/core_plugins/console/public/webpackShims/ui-bootstrap-custom.js +++ b/src/core_plugins/console/public/webpackShims/ui-bootstrap-custom.js @@ -284,7 +284,7 @@ angular.module('sense.ui.bootstrap.typeahead', ['sense.ui.bootstrap.position']) scope.position.top += element.prop('offsetHeight'); } - //we need to propagate user's query so we can higlight matches + //we need to propagate user's query so we can highlight matches scope.query = undefined; //Declare the timeout promise var outside the function scope so that stacked calls can be cancelled later diff --git a/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.js.snap b/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.js.snap index be2fecc9ba951..6ab9489766d39 100644 --- a/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.js.snap +++ b/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.js.snap @@ -407,7 +407,7 @@ exports[`Renders range control 1`] = ` Object { "id": "mock-range-control", "isEnabled": [Function], - "label": "ragne control", + "label": "range control", "max": 100, "min": 0, "options": Object { diff --git a/src/core_plugins/input_control_vis/public/components/vis/input_control_vis.test.js b/src/core_plugins/input_control_vis/public/components/vis/input_control_vis.test.js index b0ec929ee3e63..1f7c8cc7d7c15 100644 --- a/src/core_plugins/input_control_vis/public/components/vis/input_control_vis.test.js +++ b/src/core_plugins/input_control_vis/public/components/vis/input_control_vis.test.js @@ -49,7 +49,7 @@ const mockRangeControl = { step: 1 }, type: 'range', - label: 'ragne control', + label: 'range control', value: { min: 0, max: 0 }, min: 0, max: 100 diff --git a/src/core_plugins/input_control_vis/public/lineage/parent_candidates.js b/src/core_plugins/input_control_vis/public/lineage/parent_candidates.js index be8d370129b73..b926ee3e35fff 100644 --- a/src/core_plugins/input_control_vis/public/lineage/parent_candidates.js +++ b/src/core_plugins/input_control_vis/public/lineage/parent_candidates.js @@ -25,7 +25,7 @@ export function getParentCandidates(controlParamsList, controlId, lineageMap) { if (!controlParams.indexPattern || !controlParams.fieldName) { return false; } - // Ignore controls that would create a circlar graph + // Ignore controls that would create a circular graph const lineage = lineageMap.get(controlParams.id); if (lineage.includes(controlId)) { return false; diff --git a/src/core_plugins/input_control_vis/public/vis.less b/src/core_plugins/input_control_vis/public/vis.less index f310248cd6ec9..febec4bf3ff36 100644 --- a/src/core_plugins/input_control_vis/public/vis.less +++ b/src/core_plugins/input_control_vis/public/vis.less @@ -27,7 +27,7 @@ } } - // do not center min/max labels - otherwise the overlfow slider sides + // do not center min/max labels - otherwise the overflow slider sides .input-range__label-container { left: 0% !important; } diff --git a/src/core_plugins/kbn_vislib_vis_types/public/controls/point_series/category_axis.html b/src/core_plugins/kbn_vislib_vis_types/public/controls/point_series/category_axis.html index e2637c8650d9d..e655c83244819 100644 --- a/src/core_plugins/kbn_vislib_vis_types/public/controls/point_series/category_axis.html +++ b/src/core_plugins/kbn_vislib_vis_types/public/controls/point_series/category_axis.html @@ -80,12 +80,12 @@
-