Skip to content

Improve usethis-prek-add-hook placement guidance #1506

@nathanjmcdougall

Description

@nathanjmcdougall

There are two general principles being violated in #1504:

  1. Try to keep meta-programming & configuration file related hooks before code related hooks
  2. Try to add new hooks as close as possible to other hooks which are similar in purpose & motivation, e.g. two code formatters should be close together. Of course, two code formatters are likely also to cause conflicts so they may need to be separated for reasons of priority... We should re-order hooks within the same priority group to keep the cosmetic proximity with the newly added hook though, if appropriate.

Metadata

Metadata

Labels

agentConfiguration updates for LLM coding agents

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions