enfore unix line endings and always ending files with line endings (#1997)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-01-21 08:09:41 -05:00
1 parent 64be4ee948
commit 2e2283bcc9
92 files changed
+97 -91

No files matched your search

+1 -1
View File
@@ -16,4 +16,4 @@ export function useInterval(callback: () => void, delay: number) {
return () => clearInterval(id);
}, [delay]);
}
}
+1 -1
View File
@@ -2,4 +2,4 @@ import { useEffect } from "react";
export function useOnUnmount(callback: () => void) {
useEffect(() => callback, []);
}
}
+1 -1
View File
@@ -10,4 +10,4 @@ export function useStorage<T>(key: string, initialValue?: T, options?: IStorageH
};
return [storageValue, setValue] as [T, (value: T) => void];
}
}