Chore: Bumps prettier version for new typescript syntax support (#20463)

* Chore: Bumps prettier version for new typescript syntax support

* Ran new version of prettier against the codebase
This commit is contained in:
kay delaney
2019-11-19 13:59:39 +00:00
committed by GitHub
parent af35e081c2
commit ca3dff99e8
141 changed files with 2277 additions and 867 deletions

View File

@@ -150,9 +150,4 @@ const mapDispatchToProps = {
togglePauseAlertRule,
};
export default hot(module)(
connect(
mapStateToProps,
mapDispatchToProps
)(AlertRuleList)
);
export default hot(module)(connect(mapStateToProps, mapDispatchToProps)(AlertRuleList));

View File

@@ -217,9 +217,4 @@ export const mapStateToProps = (state: StoreState) => ({});
const mapDispatchToProps = { changePanelEditorTab };
export const AlertTab = hot(module)(
connect(
mapStateToProps,
mapDispatchToProps
)(UnConnectedAlertTab)
);
export const AlertTab = hot(module)(connect(mapStateToProps, mapDispatchToProps)(UnConnectedAlertTab));

View File

@@ -33,7 +33,10 @@ const evalFunctions = [
{ text: 'HAS NO VALUE', value: 'no_value' },
];
const evalOperators = [{ text: 'OR', value: 'or' }, { text: 'AND', value: 'and' }];
const evalOperators = [
{ text: 'OR', value: 'or' },
{ text: 'AND', value: 'and' },
];
const reducerTypes = [
{ text: 'avg()', value: 'avg' },
@@ -55,7 +58,10 @@ const noDataModes = [
{ text: 'Ok', value: 'ok' },
];
const executionErrorModes = [{ text: 'Alerting', value: 'alerting' }, { text: 'Keep Last State', value: 'keep_state' }];
const executionErrorModes = [
{ text: 'Alerting', value: 'alerting' },
{ text: 'Keep Last State', value: 'keep_state' },
];
function createReducerPart(model: any) {
const def = new QueryPartDef({ type: model.type, defaultParams: [] });