style: manually fix easy linting errors #1523
Annotations
10 errors and 10 warnings
Run pnpm lint:eslint:
packages/components/codemods/migrateBrandMomentMoodToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateCardVariantToColor/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateConfirmationModalMoodsToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateEmptyStateIllustrationTypeToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateGlobalNotificationTypeToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateInformationTileMoodToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateInlineNotificationTypeToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateMultiActionTileMoodToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateProgressBarMoodToColor/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/codemods/migrateToastNotificationTypeToVariant/index.ts#L5
Unexpected console statement
|
Run pnpm lint:eslint:
packages/components/src/Calendar/CalendarRange/CalendarRange.tsx#L32
React Hook useEffect has a missing dependency: 'onMount'. Either include it or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run pnpm lint:eslint:
packages/components/src/Calendar/CalendarSingle/CalendarSingle.tsx#L31
React Hook useEffect has a missing dependency: 'onMount'. Either include it or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run pnpm lint:eslint:
packages/components/src/DatePicker/DatePicker.tsx#L262
React Hook useEffect has missing dependencies: 'disabledDays', 'handleValidation', and 'locale'. Either include them or remove the dependency array
|
Run pnpm lint:eslint:
packages/components/src/Filter/Filter/Filter.tsx#L50
React Hook useEffect has a missing dependency: 'filterButtonRef'. Either include it or remove the dependency array. Mutable values like 'filterButtonRef.current.triggerRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/FilterBar.spec.tsx#L797
React Hook useEffect has missing dependencies: 'activeFilterVals', 'fetcher', and 'items'. Either include them or remove the dependency array. If 'fetcher' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/FilterBar.spec.tsx#L797
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/context/FilterBarContext.tsx#L65
React Hook useMemo has a missing dependency: 'filters'. Either include it or remove the dependency array. Mutable values like 'filtersHash.current' aren't valid dependencies because mutating them doesn't re-render the component
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/context/FilterBarContext.tsx#L131
React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/context/FilterBarContext.tsx#L138
React Hook useEffect has a missing dependency: 'onValuesChange'. Either include it or remove the dependency array. If 'onValuesChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run pnpm lint:eslint:
packages/components/src/Filter/FilterBar/subcomponents/AddFiltersMenu/AddFiltersMenu.tsx#L25
React Hook useEffect has a missing dependency: 'setFocus'. Either include it or remove the dependency array
|
Loading