gitlab-ce/doc/.vale/gitlab_base/ToDo.yml

16 lines
462 B
YAML

---
name: gitlab_base.ToDo
description: |
You should not use "To Do", unless it refers to the UI element.
extends: substitution
message: "Use 'to-do item' in most cases, or 'Add a to do' if referring to the UI button."
link: https://docs.gitlab.com/development/documentation/styleguide/word_list/#to-do-item
vocab: false
level: warning
action:
name: replace
ignorecase: false
swap:
'[Tt]o [Dd]o [Ii]tems?': to-do item
'\w* [Aa] [Tt]o [Dd]o': Add a to do