Skip to content

[FEAT] Add local quality gates and a discoverable default just recipe #345

Description

@equationzhao

Is your feature request related to a problem? Please describe.
The repository currently lacks a checked-in pre-commit configuration for common local quality gates, and running just executes the first recipe (build-lite) instead of showing available commands.

This makes local validation less discoverable for new contributors and increases reliance on CI for issues such as formatting, trailing whitespace, end-of-file fixes, and typo checks.

Describe the solution you'd like
Add a .pre-commit-config.yml or .pre-commit-config.yaml with at least:

  • trailing whitespace cleanup
  • end-of-file fixer
  • typo checks
  • Go formatting/lint hooks if appropriate

Also add a first/default just recipe that prints the command list, for example:

default:
    @just --list

Describe alternatives you've considered
Keep relying on CI only, but that delays feedback until after pushing and does not help contributors discover the available project commands locally.

Additional context
The current first recipe in justfile is build-lite, so just starts a build instead of displaying available automation tasks.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions