Skip to content

Add pre-commit hook to sort the proselint config #883

@jbampton

Description

@jbampton

medium

It's great that you've updated the deprecated check and also sorted the keys alphabetically. To ensure this file remains consistently sorted and easy to maintain in the future, consider introducing a process to automate the sorting of these JSON keys. This could be done, for example, with a pre-commit hook that runs a command like jq -S . .github/linters/proselint-config.json > tmp.json && mv tmp.json .github/linters/proselint-config.json.

Originally posted by @gemini-code-assist[bot] in #882 (comment)

Metadata

Metadata

Assignees

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions