Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

[ Refactor ] Format and Lint / Fix Typings #4

[ Refactor ] Format and Lint / Fix Typings

[ Refactor ] Format and Lint / Fix Typings #4

Triggered via pull request July 4, 2024 17:40
Status Success
Total duration 38s
Artifacts

ci-front.yml

on: pull_request
Matrix: lint-n-format
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
lint-n-format (20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint-n-format (20.x): src/App.tsx#L85
React Hook useEffect has missing dependencies: 'pixelStore' and 'tileStore'. Either include them or remove the dependency array
lint-n-format (20.x): src/App.tsx#L124
React Hook React.useEffect has missing dependencies: 'board.data' and 'pixelStore'. Either include them or remove the dependency array
lint-n-format (20.x): src/App.tsx#L182
React Hook useMemo has an unnecessary dependency: 'zoom'. Either exclude it or remove the dependency array
lint-n-format (20.x): src/components/FilterMenu/FilterMenu.tsx#L20
Classname 'form-radio' is not a Tailwind CSS class!
lint-n-format (20.x): src/components/FilterMenu/FilterMenu.tsx#L31
Classname 'form-radio' is not a Tailwind CSS class!
lint-n-format (20.x): src/components/FilterMenu/FilterMenu.tsx#L42
Classname 'form-radio' is not a Tailwind CSS class!
lint-n-format (20.x): src/components/NewProposalPopupForMain/NewProposalPopupForMain.tsx#L173
Classname 'bg-opacity-50' should be replaced by an opacity suffix (eg. '/50')
lint-n-format (20.x): src/components/NewProposalPopupForMain/ProposalListForMain.tsx#L134
Classname 'bg-opacity-50' should be replaced by an opacity suffix (eg. '/50')
lint-n-format (20.x): src/components/ProposalList/ProposalItem.tsx#L180
Classname 'mr-30' is not a Tailwind CSS class!
lint-n-format (20.x): src/components/ProposalList/ProposalItem.tsx#L197
Classname 'mr-30' is not a Tailwind CSS class!
lint-n-format (20.x): src/generated/graphql.ts#L7
Using exported name 'gql' as identifier for default export
lint-n-format (20.x): src/stores/ViewStateStore.ts#L63
React Hook useEffect has missing dependencies: 'location.search', 'setCenter', 'setColor', 'setSelectedApp', and 'setZoom'. Either include them or remove the dependency array
lint-n-format (20.x): src/vite-env.d.ts#L37
`import()` type annotations are forbidden
lint-n-format (20.x): src/vite-env.d.ts#L41
`import()` type annotations are forbidden
lint-n-format (20.x): src/webtools/hooks/useDimensions.ts#L32
The ref value 'targetRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'targetRef.current' to a variable inside the effect, and use that variable in the cleanup function