giantswarm / docs

The Giant Swarm documentation site
http://docs.giantswarm.io
Apache License 2.0
4 stars 8 forks source link

Improve prose linting configuration #2196

Closed marians closed 6 months ago

marians commented 6 months ago

This PR improves the vale config in two ways:

  1. Exclusion of the vintage and changes directories is now done in the main config file. This way, the --glob flag is no longer necessary. Also linting in VS code works on the same files as executing make lint-prose or vale . does.
  2. The term k8s-initiator-app now is excluded from the rule to avoid the term k8s

Regarding (2): once we need to exclude several terms from this rule, we have to update the matching pattern in reject.txt.

Also I updated 3rd party rules via make lint-prose-update.