Skip to content

chore(design): fix ESLint warnings #583

Closed

Description

@uniqueg

Why

The Prepare release job of the v2.0.0-alpha.51 release run reports 10 ESLint warnings in @elixir-cloud/design. They don't fail the build, but they show up as annotations on every release and CI run, and they hide new ones.

Warnings

src/components/multi-select/multi-select.ts   L75, L109   Forbidden non-null assertion
src/components/collapsible/collapsible.ts     L50, L73    Forbidden non-null assertion
src/components/code/code.ts                   L632, L676, L725   Unexpected any. Specify a different type
src/components/code/code.ts                   L717        Unexpected console statement
src/components/code/ace-theme.ts              L123, L129  Unexpected any. Specify a different type

(paths relative to packages/ecc-utils-design/)

Expected result

  • The non-null assertions are replaced by explicit checks (or guarded element queries)
  • The any types in the code editor component and its Ace theme are replaced by proper types (Ace's own types where they exist)
  • The console statement is removed or replaced by an event/error the component reports
  • Lint runs without warnings for the design package; optionally, CI fails on new warnings (--max-warnings 0)

Activity

  1. added
    priority: low
    type: maintenance
    workload: hours
    status: triage
    on Nov 15, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Nov 16, 2026
  3. self-assigned this
    on Nov 16, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 16, 2026
  5. removed
    status: in progress
    on Nov 16, 2026
  6. moved this from In progress to In review in ELIXIR On-Cloudon Nov 16, 2026
  7. added
    status flag: need review
    on Nov 16, 2026
  8. moved this from In review to Done in ELIXIR On-Cloudon Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowstatus flag: need reviewtype: maintenanceworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions