streamich/react-use

Migrate to eslint

Aberta

#947 aberto em 4 de fev. de 2020

 (1 comentário) (0 reação) (0 responsável)TypeScript (3.273 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (43.979 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador