Skip to content

test new es lint config #1334

test new es lint config

test new es lint config #1334

Triggered via pull request January 15, 2025 10:57
Status Failure
Total duration 4m 5s
Artifacts 1

deploy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 16 warnings
ʦ TypeScript: node_modules/@epic-web/config/typescript.json#L6
Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext'.
ʦ TypeScript: app/components/daterange-filter.tsx#L44
Object is possibly 'undefined'.
ʦ TypeScript: app/components/daterange-filter.tsx#L45
Object is possibly 'undefined'.
ʦ TypeScript: app/components/daterange-filter.tsx#L47
Object is possibly 'undefined'.
ʦ TypeScript: app/components/daterange-filter.tsx#L49
Object is possibly 'undefined'.
ʦ TypeScript: app/components/daterange-filter.tsx#L49
Object is possibly 'undefined'.
ʦ TypeScript: app/components/device-detail/entry-logs.tsx#L51
Object is possibly 'undefined'.
ʦ TypeScript: app/components/device-detail/entry-logs.tsx#L54
Object is possibly 'undefined'.
ʦ TypeScript: app/components/device-detail/entry-logs.tsx#L101
Object is possibly 'undefined'.
ʦ TypeScript: app/components/device-detail/entry-logs.tsx#L104
Object is possibly 'undefined'.
⬣ ESLint: app/components/aggregation-filter.tsx#L55
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/daterange-filter.tsx#L161
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device-detail/device-detail-box.tsx#L307
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device-detail/device-detail-box.tsx#L413
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device-detail/graph.tsx#L57
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device-detail/graph.tsx#L586
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device-detail/share-link.tsx#L1
Definition for rule 'jsx-a11y/anchor-has-content' was not found
⬣ ESLint: app/components/device-detail/share-link.tsx#L86
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/device/new/new-device-stepper.tsx#L248
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⬣ ESLint: app/components/error-message.tsx#L15
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
⚡ Vitest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ʦ TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
⬣ ESLint: app/components/aggregation-filter.tsx#L3
`./ui/badge` import should occur before import of `./ui/separator`
⬣ ESLint: app/components/aggregation-filter.tsx#L4
`react-router` import should occur before import of `./ui/separator`
⬣ ESLint: app/components/aggregation-filter.tsx#L5
`@radix-ui/react-select` import should occur before import of `lucide-react`
⬣ ESLint: app/components/aggregation-filter.tsx#L7
`./ui/select` import should occur before import of `./ui/separator`
⬣ ESLint: app/components/color-picker.tsx#L5
`lucide-react` import should occur before import of `@/components/ui/button`
⬣ ESLint: app/components/color-picker.tsx#L11
'className' is defined but never used. Allowed unused args must match /^_/u
⬣ ESLint: app/components/daterange-filter.tsx#L5
`./ui/badge` import should occur before import of `./ui/button`
⬣ ESLint: app/components/daterange-filter.tsx#L6
`./ui/command` import should occur before import of `./ui/popover`
⬣ ESLint: app/components/daterange-filter.tsx#L14
`react` import should occur before import of `./ui/button`
⬣ ESLint: app/components/daterange-filter.tsx#L15
`./ui/calendar` import should occur before import of `./ui/popover`
🐳 Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🐳 Build
Attestations are only supported by buildx >= 0.10.0; the inputs 'attests', 'provenance' and 'sbom' are ignored.
🎭 Playwright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
169 KB
sha256:52fd799b4b084de261c7a0778d58231df6f00c117cb51d8cdd8692ec98d6e5c1