Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Conversation

@lambdalisue
Copy link
Member

Summary

  • Add probitas fmt command that runs deno fmt --no-config on scenario files
  • Add probitas lint command that runs deno lint --no-config on scenario files
  • Add probitas check command that runs deno check --no-config on scenario files
  • Introduce shared _deno.ts module for common Deno subcommand execution logic

Why

Scenario files need formatting, linting, and type-checking just like any TypeScript code, but should use the same file discovery logic as probitas run. These commands bridge Deno's tooling with Probitas' configuration-driven file discovery, allowing users to run standard Deno tooling without manually specifying files.

All three commands use --no-config to avoid conflicts with project deno.json, and lint excludes rules incompatible with scenario imports (no-import-prefix, no-unversioned-import).

Test Plan

  • Run probitas fmt --help and verify help text displays correctly
  • Run probitas lint --help and verify help text displays correctly
  • Run probitas check --help and verify help text displays correctly
  • Run each command on a project with scenario files

Scenario files need formatting, linting, and type-checking just like
any TypeScript code, but should use the same file discovery logic as
`probitas run`. These commands bridge Deno's tooling with Probitas'
configuration-driven file discovery.

All three commands use `--no-config` to avoid conflicts with project
deno.json, and lint excludes rules incompatible with scenario imports
(no-import-prefix, no-unversioned-import).
@codecov
Copy link

codecov bot commented Dec 19, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@lambdalisue lambdalisue merged commit f987f4d into main Dec 19, 2025
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants