Enforce semicolons in eslint

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 16:35:04 +02:00
1 parent 0f3f5611ba
commit 1477bb8274
531 files changed
+3979 -3975

No files matched your search

@@ -1 +1 @@
export * from './line-progress'
export * from './line-progress';
@@ -23,7 +23,7 @@ export class LineProgress extends React.PureComponent<LineProgressProps> {
render() {
const { className, min, max, value, precise, children, ...props } = this.props;
let valuePercents = Math.min(100, value / (max - min) * 100);
const valuePercentsRounded = +valuePercents.toFixed(precise)
const valuePercentsRounded = +valuePercents.toFixed(precise);
if (valuePercentsRounded) {
valuePercents = valuePercentsRounded;
}