Skip to content

Fix tsconfig.json and Lint errors #459

Fix tsconfig.json and Lint errors

Fix tsconfig.json and Lint errors #459

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

heat-stack.yml

on: pull_request
⬣ Heat-Stack - ESLint
57s
⬣ Heat-Stack - ESLint
ʦ Heat-Stack - TypeScript
58s
ʦ Heat-Stack - TypeScript
⚡ Heat-Stack - Vitest pyodide.test.ts
58s
⚡ 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

16 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'?
app/utils/misc.error-message.test.ts: heat-stack/app/utils/db.server.ts#L12
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ❯ new PrismaClient node_modules/.prisma/client/default.js:43:11 ❯ app/utils/db.server.ts:12:17 ❯ Module.remember node_modules/@epic-web/remember/index.js:16:40 ❯ app/utils/db.server.ts:5:23 ❯ app/utils/auth.server.ts:6:31
app/utils/misc.use-double-check.test.tsx: heat-stack/app/utils/db.server.ts#L12
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ❯ new PrismaClient node_modules/.prisma/client/default.js:43:11 ❯ app/utils/db.server.ts:12:17 ❯ Module.remember node_modules/@epic-web/remember/index.js:16:40 ❯ app/utils/db.server.ts:5:23 ❯ app/utils/auth.server.ts:6:31
app/utils/pyodide.test.ts: heat-stack/app/utils/db.server.ts#L12
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ❯ new PrismaClient node_modules/.prisma/client/default.js:43:11 ❯ app/utils/db.server.ts:12:17 ❯ Module.remember node_modules/@epic-web/remember/index.js:16:40 ❯ app/utils/db.server.ts:5:23 ❯ app/utils/auth.server.ts:6:31
app/routes/_auth+/auth.$provider.callback.test.ts: heat-stack/app/utils/db.server.ts#L12
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ❯ new PrismaClient node_modules/.prisma/client/default.js:43:11 ❯ app/utils/db.server.ts:12:17 ❯ Module.remember node_modules/@epic-web/remember/index.js:16:40 ❯ app/utils/db.server.ts:5:23 ❯ app/utils/auth.server.ts:6:31
app/routes/users+/$username.test.tsx: heat-stack/app/utils/db.server.ts#L12
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ❯ new PrismaClient node_modules/.prisma/client/default.js:43:11 ❯ app/utils/db.server.ts:12:17 ❯ Module.remember node_modules/@epic-web/remember/index.js:16:40 ❯ app/utils/db.server.ts:5:23 ❯ app/utils/auth.server.ts:6:31
⚡ Heat-Stack - Vitest pyodide.test.ts
Process completed with exit code 1.
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 - 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 - 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
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
⬣ 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