mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 22:59:11 +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.
8 lines
188 B
YAML
8 lines
188 B
YAML
extends: existence
|
|
message: "Use the Oxford comma in '%s'."
|
|
link: 'https://developers.google.com/style/commas'
|
|
scope: sentence
|
|
level: warning
|
|
tokens:
|
|
- '(?:[^,]+,){1,}\s\w+\s(?:and|or)'
|