Upgrade eslint-plugin-matrix-org to 1.2.1
This upgrade came with a number of new lints that needed to be fixed across the code base. Primarily: explicit return types on functions, and explicit visibility modifiers on class members.
This commit is contained in:
@@ -19,5 +19,5 @@ import { useMediaQuery } from "./useMediaQuery";
|
||||
/**
|
||||
* @returns Whether the user has requested reduced motion.
|
||||
*/
|
||||
export const usePrefersReducedMotion = () =>
|
||||
export const usePrefersReducedMotion = (): boolean =>
|
||||
useMediaQuery("(prefers-reduced-motion)");
|
||||
|
||||
Reference in New Issue
Block a user