Skip to content

Exclude GraphQL markdown reference from lefthook lints

What does this MR do and why?

Making a change to doc/api/graphql/reference/index.md by changing the GraphQL API will make markdownlint, vale and docs-trailing_spaces check this file which is huge (currently 1.6MB). THis process will take a long time everytime you try to push a change. This change disables those 3 checks locally.

This is a generated file, so we shouldn't expect someone making mistakes. The only downside would be if someone changes the template,but this would still be caught in CI since we are not disabling those 3 rules there, just locally via lefthook

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports