Re-enable rule jsx-curly-brace-presence (#10869)

This commit is contained in:
Kamil Gabryjelski
2020-09-14 19:44:03 +02:00
committed by GitHub
parent c5193ca018
commit a75c36281d
9 changed files with 14 additions and 16 deletions

View File

@@ -454,7 +454,7 @@ export default class AnnotationLayer extends React.PureComponent {
? 'Interval Start column'
: 'Event Time Column'
}
description={'This column must contain date/time information.'}
description="This column must contain date/time information."
validationErrors={!timeColumn ? ['Mandatory'] : []}
clearable={false}
options={timeColumnOptions}
@@ -467,7 +467,7 @@ export default class AnnotationLayer extends React.PureComponent {
hovered
name="annotation-layer-intervalEnd"
label="Interval End column"
description={'This column must contain date/time information.'}
description="This column must contain date/time information."
validationErrors={!intervalEndColumn ? ['Mandatory'] : []}
options={columns}
value={intervalEndColumn}
@@ -478,7 +478,7 @@ export default class AnnotationLayer extends React.PureComponent {
hovered
name="annotation-layer-title"
label="Title Column"
description={'Pick a title for you annotation.'}
description="Pick a title for you annotation."
options={[{ value: '', label: 'None' }].concat(columns)}
value={titleColumn}
onChange={v => this.setState({ titleColumn: v })}
@@ -643,7 +643,7 @@ export default class AnnotationLayer extends React.PureComponent {
hovered
name="annotation-layer-show-markers"
label="Show Markers"
description={'Shows or hides markers for the time series'}
description="Shows or hides markers for the time series"
value={showMarkers}
onChange={v => this.setState({ showMarkers: v })}
/>
@@ -653,7 +653,7 @@ export default class AnnotationLayer extends React.PureComponent {
hovered
name="annotation-layer-hide-line"
label="Hide Line"
description={'Hides the Line for the time series'}
description="Hides the Line for the time series"
value={hideLine}
onChange={v => this.setState({ hideLine: v })}
/>