mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
Add a prose linter that runs on docs content changes and a basic config. Linter only lints changed lines, and it will fail on error. For now, this is not a mandatory check because we expect a lot of false positives while we tweak the linter to suit our conventions.
10 lines
229 B
YAML
10 lines
229 B
YAML
extends: existence
|
|
message: "Use 'AM' or 'PM' (preceded by a space)."
|
|
link: 'https://developers.google.com/style/word-list'
|
|
level: error
|
|
nonword: true
|
|
tokens:
|
|
- '\d{1,2}[AP]M'
|
|
- '\d{1,2} ?[ap]m'
|
|
- '\d{1,2} ?[aApP]\.[mM]\.'
|