streamich/react-use

Migrate to eslint

Open

#947 opened on Feb 4, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (3,273 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (43,979 stars)
PR merge metrics
 (Avg merge 1743d 9h) (1 merged PR in 30d)

Description

In reference to #371 , here is the exhaustive list of all the affected files post addition of eslint-config-react-app.

These files will be annotated with eslint-disable and then fixed one-by-one in different PRs. Feel free to pick up one (or more) of them, fix the errors/warnings and create a PR for the same.

We will then update this issue with the PR when merged. This issue will be used to track all of these PRs at one place.

  • createBreakpoint.ts
  • createGlobalState.ts
  • createMemo.ts
  • createRouter.ts
  • useAsyncFn.ts
  • useAsyncRetry.ts
  • useBattery.ts
  • useCopyToClipboard.ts
  • useCounter.ts
  • useDrop.ts
  • useDropArea.ts
  • useEvent.ts
  • useFullScreen.ts
  • useGeolocation.ts
  • useGetSet.ts
  • useGetSetState.ts
  • useHoverDirty.ts
  • useIdle.ts
  • useIntersection.ts
  • useKey.ts
  • useLifecycles.ts
  • useList.ts
  • useLocalStorage.ts
  • useLocation.ts
  • useLockBodyScroll.ts
  • useLongPress.ts
  • useMap.ts
  • useMeasureDirty.ts
  • useMediatedState.ts
  • useMethods.ts
  • useMouse.ts
  • useMultiStateValidator.ts
  • useNetwork.ts
  • useOrientation.ts
  • usePageLeave.ts
  • usePermission.ts
  • usePromise.ts
  • useRafLoop.ts
  • useScroll.ts
  • `useScrollbarWidth.ts
  • useScrolling.ts
  • useSearchParam.ts
  • useSessionStorage.ts
  • useSet.ts
  • useSize.ts
  • useSlider.ts
  • useSpring.ts
  • useStartTyping.ts
  • useStateList.ts
  • useStateValidator.ts
  • useStateWithHistory.ts
  • useThrottle.ts
  • useThrottleFn.ts
  • useTimeoutFn.ts
  • useTitle.ts
  • useUpdateEffect.ts
  • useVibrate.ts
  • useWindowScroll.ts
  • useWindowSize.ts
  • createHTMLMediaHook.ts
  • useAsync.test.tsx
  • useMeasure.test.ts

Contributor guide