Skip to content

feat(ci): taste as lint: boundaries, no console/env, no-any, floating promises, format check #38

Closed

Description

@allisonmahmood

Effect v4 port requirement — the Effect-specific rules are added as the port lands; the base rules go in now.

Problem

eslint.config.js is the recommended set with no-explicit-any turned off. Nothing enforces package boundaries, console/process.env placement, or floating promises, and CI has no format check.

"having more taste as lint would make sense." — t3code 2.3

Do

Now:

  • Package-boundary no-restricted-imports (the CLI depends only on @patchy/core).
  • No console / process.env outside entrypoints and packages/config.
  • @typescript-eslint/no-explicit-any back on; no-floating-promises on (type-aware config).
  • Format check in CI; formatter-only pre-commit hook.

With the port (the requirement the port map inherits):

  • Effect rules t3code has: namespace imports for service modules, no manual runtimes in tests, no schema compile in hot paths; @effect/language-service diagnostics as errors.

Done when

pnpm lint fails on each of the base rules, CI runs the format check, and the port map has the Effect rules listed as a build step.


Filed from the foundation map task File the DX backlog from the decisions doc. Allison's reasoning is quoted from her agent-DX decision log (t3code and omarchy surveys, reviewed 2026-08-26).

Activity

  1. added
    ready-for-agent
    area:ci
    port-requirement
    on Aug 26, 2026
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

    area:ciport-requirementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions