streamich/react-use

Migrate to eslint

Ouverte

#947 ouverte le 4 févr. 2020

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (3 273 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (43 979 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur