Skip to content

chore(eslint): allow console in codemods #1524

chore(eslint): allow console in codemods

chore(eslint): allow console in codemods #1524

Triggered via push December 2, 2024 05:04
Status Failure
Total duration 1m 34s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
prettier
Process completed with exit code 1.
eslint: .stylelintrc-css.mjs#L4
Replace `"stylelint-config-standard"` with `'stylelint-config-standard'`
eslint: .stylelintrc-css.mjs#L6
Replace `"selector-class-pattern"` with `'selector-class-pattern'`
eslint: .stylelintrc-css.mjs#L7
Replace `"color-function-notation":·["modern",·{·ignore:·["with-var-inside"` with `'color-function-notation':·['modern',·{·ignore:·['with-var-inside'`
eslint: .stylelintrc-css.mjs#L8
Replace `"font-family-no-missing-generic-family-keyword"` with `'font-family-no-missing-generic-family-keyword'`
eslint: .stylelintrc-css.mjs#L11
Replace `"Material·Symbols·Outlined"` with `'Material·Symbols·Outlined'`
eslint: .stylelintrc-css.mjs#L14
Replace `"selector-pseudo-class-no-unknown"` with `'selector-pseudo-class-no-unknown'`
eslint: .stylelintrc-css.mjs#L17
Replace `"global"` with `'global'`
eslint: docs/.storybook/manager.tsx#L1
This rule requires the `strictNullChecks` compiler option to be turned on to function correctly
eslint: docs/.storybook/manager.tsx#L3
Replace `"react"` with `'react'`
eslint: docs/.storybook/manager.tsx#L4
Replace `"@storybook/manager-api"` with `'@storybook/manager-api'`
eslint: packages/components/src/Badge/_docs/Badge.stories.tsx#L3
'/home/runner/work/kaizen-design-system/kaizen-design-system/packages/components/src/Badge/index.ts' imported multiple times
eslint: packages/components/src/Badge/_docs/Badge.stories.tsx#L4
'/home/runner/work/kaizen-design-system/kaizen-design-system/packages/components/src/Badge/index.ts' imported multiple times
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
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
eslint: packages/components/src/DatePicker/DatePicker.tsx#L273
React Hook useEffect has missing dependencies: 'disabledDays', 'handleValidation', and 'locale'. Either include them or remove the dependency array
eslint: packages/components/src/Filter/Filter/Filter.tsx#L56
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
eslint: packages/components/src/Filter/FilterBar/FilterBar.spec.tsx#L865
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
eslint: packages/components/src/Filter/FilterBar/FilterBar.spec.tsx#L865
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
eslint: packages/components/src/Filter/FilterBar/_docs/FilterBar.stories.tsx#L18
'/home/runner/work/kaizen-design-system/kaizen-design-system/packages/components/src/index.ts' imported multiple times
eslint: packages/components/src/Filter/FilterBar/_docs/FilterBar.stories.tsx#L19
'/home/runner/work/kaizen-design-system/kaizen-design-system/packages/components/src/index.ts' imported multiple times