Skip to content

chore(lint): re-enable the schema rules #149

Backlog

Description

@altaywtf

Re-enable the schema rules by decoding promptfoo results, agent transcripts and CLI flags at their boundaries.

Rule Scope Findings Boundary
anti-slop/no-runtime-typeof repo 48 promptfoo result rows (src/cli.ts), Grok CLI events (src/grok-provider.ts), Claude and Codex transcripts (src/skill-evidence.ts), scenario criteria JSON, semantic-release context
typescript/no-unsafe-type-assertion repo 28 CLI flags (flags.get(...) as string), promptfoo results, *.meta.json and scorecard JSON
anti-slop/require-safety-comment-for-type-assertion repo 28 same casts
anti-slop/no-unknown-parameters repo 13 result and judge readers, transcript parsers, release script
typescript/no-unsafe-call repo 7 generated promptfoo config in tests
typescript/no-unsafe-return repo 5 package.json version, test JSON
typescript/no-unsafe-member-access repo 3 package.json version, peerDependencies, bin
typescript/no-unsafe-assignment repo 3 scenario criteria, transform manifest, peers
quality/no-unknown-returns repo 1 readJson

The named-contract rules (no-known-value-widening, no-unsafe-dictionary-type, no-object-parameters) are out of scope here.

Done when:

  • These rules are on, with no repo-level off except documented exceptions.
  • Each boundary above decodes its input with a schema.

Related: uinaf/oxlint-plugin-no-comments#21

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions