Skip to content

Commit

Permalink
fixed space with prefer
Browse files Browse the repository at this point in the history
  • Loading branch information
brittanyjoiner15 committed Sep 22, 2020
1 parent fdf4efb commit d4bd1f3
Show file tree
Hide file tree
Showing 490 changed files with 536 additions and 536 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-std/src/merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isPlainObject from 'lodash/isPlainObject';
/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/environment/write_pid_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { unlinkSync as unlink } from 'fs';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import once from 'lodash/once';
import { Logger } from '../logging';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/usage_collection/server/routes/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { schema } from '@kbn/config-schema';
import { i18n } from '@kbn/i18n';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import defaultsDeep from 'lodash/defaultsDeep';
import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import axios from 'axios';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import { omitBy, isNil } from 'lodash/fp';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import cytoscape from 'cytoscape';
import dagre from 'cytoscape-dagre';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEqual from 'lodash/isEqual';
import React, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import cytoscape from 'cytoscape';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import debounce from 'lodash/debounce';
import { useEffect } from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
*/

import React, { useContext } from 'react';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import upperFirst from 'lodash/upperFirst';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import snakeCase from 'lodash/snakeCase';
import { i18n } from '@kbn/i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import React from 'react';

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import _camelCase from 'lodash/camelCase';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import React from 'react';

import classNames from 'classnames';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import _kebabCase from 'lodash/kebabCase';
import { Link } from 'react-router-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
import React from 'react';
import { i18n } from '@kbn/i18n';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEmpty from 'lodash/isEmpty';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import cloneDeep from 'lodash/cloneDeep';
import { serializePolicy } from './policy_serialization';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import cloneDeep from 'lodash/cloneDeep';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { i18n } from '@kbn/i18n';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import flowRight from 'lodash/flowRight';
import React from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isDate from 'lodash/isDate';
import type { HttpSetup, HttpStart } from 'src/core/public';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { IRouter } from 'kibana/server';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import { merge } from 'lodash/fp';

Expand Down
8 changes: 4 additions & 4 deletions x-pack/plugins/ml/common/util/job_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEmpty from 'lodash/isEmpty';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEqual from 'lodash/isEqual';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import pick from 'lodash/pick';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* getting the annotations via props (used in Anomaly Explorer and Single Series Viewer).
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import uniq from 'lodash/uniq';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

import PropTypes from 'prop-types';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { EuiButtonIcon, EuiLink, EuiScreenReaderOnly } from '@elastic/eui';

import React from 'react';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

import PropTypes from 'prop-types';
import React, { Component, Fragment } from 'react';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import pick from 'lodash/pick';
import { i18n } from '@kbn/i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
import PropTypes from 'prop-types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import cloneDeep from 'lodash/cloneDeep';
import moment from 'moment';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

import { useState } from 'react';
import { Direction, EuiBasicTableProps, EuiTableSortingType } from '@elastic/eui';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import sortBy from 'lodash/sortBy';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { i18n } from '@kbn/i18n';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import debounce from 'lodash/debounce';
import { FormattedMessage } from '@kbn/i18n/react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@
* and manages the layout of the charts in the containing div.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import find from 'lodash/find';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import sortBy from 'lodash/sortBy';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import map from 'lodash/map';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import reduce from 'lodash/reduce';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import cloneDeep from 'lodash/cloneDeep';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import React from 'react';
import './_explorer.scss';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEqual from 'lodash/isEqual';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import uniq from 'lodash/uniq';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
import d3 from 'd3';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import PropTypes from 'prop-types';
import React, { Component } from 'react';

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import sortBy from 'lodash/sortBy';
import moment from 'moment';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

// Service for carrying out requests to run ML forecasts and to obtain
// data on forecasts that have been performed.
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import find from 'lodash/find';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
import { map } from 'rxjs/operators';
Expand Down
10 changes: 5 additions & 5 deletions x-pack/plugins/ml/public/application/services/job_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import cloneDeep from 'lodash/cloneDeep';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import find from 'lodash/find';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isNumber from 'lodash/isNumber';
import moment from 'moment';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// Returned response contains a results property containing the requested aggregation.
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';
import { Dictionary } from '../../../../common/types/common';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* you may not use this file except in compliance with the Elastic License.
*/

//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import each from 'lodash/each';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

import PropTypes from 'prop-types';
//Prefer importing entire lodash library, e.g. import { get } from "lodash"
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import get from 'lodash/get';

Expand Down
Loading

0 comments on commit d4bd1f3

Please sign in to comment.