Skip to content

Release QA gate broken: ESLint config error (jest/globals unknown environment key) #6

Description

@meharajM

Summary

npm run lint fails immediately due to ESLint config incompatibility:

Environment key "jest/globals" is unknown

Environment

  • Date: 2026-06-01
  • Command: cd ContextEngine && npm run lint

Actual output

  • ESLint 8.57.1
  • Error path: .eslintrc.js » @react-native/eslint-config#overrides[4]

Impact

  • Release checklist cannot enforce lint gate.
  • QA pipeline is partially blind to static issues.
  • This is already listed as known operational limit in app-behaviour.md, but remains unresolved.

Suggested fix direction

  • Update ESLint/Jest env integration to compatible versions.
  • Ensure jest/globals env is recognized by current ESLint stack.
  • Add a CI check to prevent config drift.

Acceptance criteria

  • npm run lint exits 0 on a clean checkout.

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