Skip to content

fix: lint root pulumi package sources#5472

Open
samsondav wants to merge 1 commit intocanton-network:mainfrom
Avro-Digital:sam-avro/issue-3334-pulumi-lint
Open

fix: lint root pulumi package sources#5472
samsondav wants to merge 1 commit intocanton-network:mainfrom
Avro-Digital:sam-avro/issue-3334-pulumi-lint

Conversation

@samsondav
Copy link
Copy Markdown
Contributor

Summary

  • Make the root cluster/pulumi format/lint scripts accept file arguments while preserving workspace-wide behavior for normal package runs
  • Remove the typescriptfmt pre-commit exclusion for root Pulumi TypeScript files
  • Format and lint the existing root Pulumi TypeScript files now covered by the hook

Closes #3334

Test plan

  • python3 scripts/fix-ts.py cluster/pulumi/jest.config.ts cluster/pulumi/pulumi.ts cluster/pulumi/pulumiDown.ts cluster/pulumi/pulumiOperations.ts cluster/pulumi/purge_unused_dbs.ts cluster/pulumi/resolvedConfigEmitter.ts
  • npm run check from cluster/pulumi
  • source .envrc.vars; source cluster/deployment/mock/.envrc.vars; make cluster/pulumi/test -j8

Signed-off-by: Sam Davies <sam@avrofi.com>
@samsondav samsondav force-pushed the sam-avro/issue-3334-pulumi-lint branch from f441164 to d4992ab Compare May 8, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix formatting & linting for cluster/pulumi package sources

5 participants