Skip to content

Comments

chore: add optional GDScript linting via pre-commit hooks#82

Open
Tusharjamdade wants to merge 1 commit intoknative-extensions:mainfrom
Tusharjamdade:tooling/gdscript-lint
Open

chore: add optional GDScript linting via pre-commit hooks#82
Tusharjamdade wants to merge 1 commit intoknative-extensions:mainfrom
Tusharjamdade:tooling/gdscript-lint

Conversation

@Tusharjamdade
Copy link

Changes

  • Add .pre-commit-config.yaml to enable optional GDScript formatting and linting
  • Configure gdformat for consistent formatting of .gd files
  • Configure gdlint for static analysis and basic style checks
  • Add .gdlintrc to define project-specific lint rules and reduce noisy warnings

/kind

Fixes #81

Release Note

This change adds an optional local pre-commit setup for GDScript formatting and linting. It does not affect gameplay, runtime behavior, or existing development workflows.

Docs


@knative-prow
Copy link

knative-prow bot commented Feb 1, 2026

@Tusharjamdade: The label(s) kind/<kind> cannot be applied, because the repository doesn't have them.

Details

In response to this:

Changes

  • Add .pre-commit-config.yaml to enable optional GDScript formatting and linting
  • Configure gdformat for consistent formatting of .gd files
  • Configure gdlint for static analysis and basic style checks
  • Add .gdlintrc to define project-specific lint rules and reduce noisy warnings

/kind

Fixes #81

Release Note

This change adds an optional local pre-commit setup for GDScript formatting and linting. It does not affect gameplay, runtime behavior, or existing development workflows.

Docs


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot requested review from Cali0707 and mmejia02 February 1, 2026 04:25
@knative-prow
Copy link

knative-prow bot commented Feb 1, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Tusharjamdade
Once this PR has been reviewed and has the lgtm label, please assign dsimansk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the size/L label Feb 1, 2026
@Tusharjamdade
Copy link
Author

Tusharjamdade commented Feb 1, 2026

Hi @Cali0707, @ankitajana21 and @prajjwalyd,

I’ve introduced an optional linting process to help ensure the code remains properly formatted and maintains consistency across contributions.
This also helps improve overall readability of the codebase.

Please take a look and let me know if there are any requested changes or if you’d like any adjustments to the linting rules I’d be happy to update them accordingly.

Example:
Screenshot 2026-02-01 093703

image

@knative-prow-robot
Copy link

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional GDScript linting setup for improved code quality

2 participants