Skip to content

Added prettier

Added prettier #145

Triggered via pull request May 29, 2024 20:09
Status Failure
Total duration 33s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: src/Components/Charts/BentoPie.tsx#L52
React Hook "useChartThreshold" is called conditionally. React Hooks must be called in the exact same order in every component render
lint: src/Components/Charts/BentoPie.tsx#L53
React Hook "useChartMaxLabelChars" is called conditionally. React Hooks must be called in the exact same order in every component render
lint: src/types/chartTypes.ts#L25
Delete `··`
lint: src/types/chartTypes.ts#L26
Delete `··`
lint: src/types/chartTypes.ts#L27
Delete `··`
lint: src/types/chartTypes.ts#L28
Delete `··`
lint: src/types/chartTypes.ts#L30
Replace `,` with `;`
lint: src/types/chartTypes.ts#L31
Replace `,` with `;`
lint: src/types/chartTypes.ts#L32
Insert `;`
lint: src/types/chartTypes.ts#L94
Delete `⏎`
lint: src/Components/Charts/BentoPie.tsx#L85
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array
lint: src/Components/Charts/BentoPie.tsx#L97
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array
lint: src/Components/Maps/BentoChoroplethMap.tsx#L64
React Hook useCallback has missing dependencies: 'calculateColor', 'categoryProp', and 'dataByFeatureCat'. Either include them or remove the dependency array
lint: src/Components/Maps/BentoChoroplethMap.tsx#L98
React Hook useMemo has a missing dependency: 'dataByFeatureCat'. Either include it or remove the dependency array
lint: src/util/chartUtils.ts#L37
React Hook useMemo has missing dependencies: 'defaultRemoveEmpty' and 'sortY'. Either include them or remove the dependency array