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

+3 -3
View File
@@ -1,5 +1,5 @@
// Custom react hooks for common usage
export * from "./useStorage"
export * from "./useOnUnmount"
export * from "./useInterval"
export * from "./useStorage";
export * from "./useOnUnmount";
export * from "./useInterval";
+1 -1
View File
@@ -1,5 +1,5 @@
import { useEffect } from "react";
export function useOnUnmount(callback: () => void) {
useEffect(() => callback, [])
useEffect(() => callback, []);
}