microsoft / microsoft/AzureTRE

Expand precommit hook support

Open
#4,913 4 comments 0 reactions 1 assignee View on GitHub

@JC-wk is already working on this.

Since Jul 10, 2026.

Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like

  • pre-commit-hooks: trailing whitespace, EOF newline, YAML/JSON/TOML checks, merge conflict markers, large files
    • terraform fmt for *.tf, validate with -backend=false
    • terraform security checks via checkov or similar
    • eslint/prettier for ui/app, using the existing scripts in ui/app/package.json:66
    • Markdown linting, since .markdownlint.json already exists
    • shellcheck for changed shell scripts

Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.