Fix tsconfig.json and Lint errors #459
heat-stack.yml
on: pull_request
⬣ Heat-Stack - ESLint
57s
ʦ Heat-Stack - TypeScript
58s
⚡ Heat-Stack - Vitest pyodide.test.ts
58s
Matrix: Rules Engine - Build
Matrix: Rules Engine - Lint
Matrix: Rules Engine - Mypy
Matrix: Rules Engine - Pytest
🚀 Heat-Stack - Deploy
0s
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 |
|