Skip to content

Fix tsconfig.json and Lint errors #458

Fix tsconfig.json and Lint errors

Fix tsconfig.json and Lint errors #458

Triggered via pull request January 15, 2025 02:07
Status Failure
Total duration 1m 18s
Artifacts 1

heat-stack.yml

on: pull_request
⬣ Heat-Stack - ESLint
54s
⬣ Heat-Stack - ESLint
ʦ Heat-Stack - TypeScript
1m 2s
ʦ Heat-Stack - TypeScript
⚡ Heat-Stack - Vitest pyodide.test.ts
1m 8s
⚡ Heat-Stack - Vitest pyodide.test.ts
Matrix: Rules Engine - Build
Matrix: Rules Engine - Lint
Matrix: Rules Engine - Mypy
Matrix: Rules Engine - Pytest
🚀 Heat-Stack - Deploy
0s
🚀 Heat-Stack - Deploy
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../../../../../types/types.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../../icon.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../HeatLoadGrid.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../constants.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utility/heat-load-calculations.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utility/build-heat-load-graph-data.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './HeatLoadGraphToolTip.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './HeatLoadGraphLegend.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../../../../global_constants.js'?
ʦ Heat-Stack - TypeScript
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../constants.js'?
Rules Engine - Lint (3.11.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rules Engine - Pytest (3.11.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rules Engine - Mypy (3.11.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rules Engine - Build (3.11.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L13
All imports in the declaration are only used as types. Use `import type`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L16
`../constants` import should occur before import of `../HeatLoadGrid`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L25
`../utility/build-heat-load-graph-data` import should occur before import of `../utility/heat-load-calculations`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L27
`./HeatLoadGraphLegend` import should occur before import of `./HeatLoadGraphToolTip`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L28
`../../../../../global_constants` import should occur before import of `../../../icon`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/Graphs/HeatLoad.tsx#L64
React Hook useMemo has missing dependencies: 'maxTemperature' and 'minTemperature'. Either include them or remove the dependency array
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/utility/build-heat-load-graph-data.ts#L1
All imports in the declaration are only used as types. Use `import type`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/utility/heat-load-calculations.ts#L1
All imports in the declaration are only used as types. Use `import type`
⬣ Heat-Stack - ESLint: heat-stack/app/routes/_heat+/single.tsx#L61
`react` import should occur before import of `zod`

Artifacts

Produced during runtime
Name Size
python-rules-engine-wheel
90.4 KB