Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Oct 9, 2019
1 parent 2dff992 commit 7ec0860
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export class FieldList extends Array<Field> implements FieldListInterface {
private indexPattern: IndexPattern;
private shortDotsEnable: boolean;
private notifications: NotificationsSetup;
constructor(indexPattern: IndexPattern, specs: FieldSpec[] = [], shortDotsEnable = false, notifications: NotificationsSetup) {
constructor(
indexPattern: IndexPattern,
specs: FieldSpec[] = [],
shortDotsEnable = false,
notifications: NotificationsSetup
) {
super();
this.indexPattern = indexPattern;
this.shortDotsEnable = shortDotsEnable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,18 +279,20 @@ export class IndexPattern implements StaticIndexPattern {
}

this.fields.add(
new Field(this, {
name,
script,
fieldType,
scripted: true,
lang,
aggregatable: true,
filterable: true,
searchable: true,
},
false,
this.notifications
new Field(
this,
{
name,
script,
fieldType,
scripted: true,
lang,
aggregatable: true,
filterable: true,
searchable: true,
},
false,
this.notifications
)
);

Expand Down

0 comments on commit 7ec0860

Please sign in to comment.