Skip to content

Dead variable: isCI declared but never used in the gate script #12

Description

@rafaelvieiras

Problem

const isCI = !isLocal && !isGenBaseline; is declared but never referenced. It only escapes the lint gate because eslint.config.mjs ignores scripts/ (see related issue).

Location

scripts/quality-gate.mjs:35 and the same line in the generator template src/generators/gate-script.mjs

Suggested fix

Remove it (or use it). Regenerate scripts/quality-gate.mjs from the generator after the change.

Acceptance

  • No unused variable in the emitted gate script.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions