Skip to content

[FEATURE] Add TOML linting as a pre-commit hook #181

@c-vigo

Description

@c-vigo

Summary

Add TOML linting to the pre-commit pipeline so TOML files are validated consistently in local development and CI.

Problem / Motivation

TOML files currently lack dedicated lint enforcement, which can allow format or style drift and late CI failures.

Proposed Solution

Wire a TOML linter as a pre-commit hook, pinned to a stable version, and run it on TOML files in this repository.

Acceptance Criteria

  • TOML linting hook is added to .pre-commit-config.yaml with a pinned version
  • Repository TOML files pass the new lint check
  • uv run pre-commit run --all-files passes with the hook enabled
  • CI runs the same TOML lint check without extra manual setup
  • TDD compliance (see .cursor/rules/tdd.mdc)

Out of Scope

  • Non-TOML linting changes
  • Broad pre-commit refactors unrelated to TOML

Related Issues

Related to #122
Related to #161

Priority

Medium

Changelog Category

Added

Additional Context

Goal: TOML linting as a pre-commit hook.

Metadata

Metadata

Assignees

Labels

area:ciCI/CD, GitHub Actions, workflowsarea:workspaceWorkspace tooling, justfile, templateseffort:smallLess than 1 hourfeatureNew feature or requestsemver:minorNew feature, backward-compatible

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions