Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

+3 -3
View File
@@ -51,11 +51,11 @@ const defaultProps: Partial<ChartProps> = {
export class Chart extends React.Component<ChartProps> {
static defaultProps = defaultProps as object;
private canvas = React.createRef<HTMLCanvasElement>()
private chart: ChartJS
private canvas = React.createRef<HTMLCanvasElement>();
private chart: ChartJS;
// ChartJS adds _meta field to any data object passed to it.
// We clone new data prop into currentChartData to compare props and prevProps
private currentChartData: ChartData
private currentChartData: ChartData;
componentDidMount() {
const { showChart } = this.props;
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
import { useInterval } from "../../hooks";
type IMetricValues = [number, string][];
type IChartData = { x: number; y: string }[]
type IChartData = { x: number; y: string }[];
const defaultParams = {
fetchInterval: 15,