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.
11 lines
226 B
YAML
11 lines
226 B
YAML
extends: existence
|
|
message: "'%s' should have one space."
|
|
link: 'https://developers.google.com/style/sentence-spacing'
|
|
level: error
|
|
nonword: true
|
|
action:
|
|
name: remove
|
|
tokens:
|
|
- '[a-z][.?!] {2,}[A-Z]'
|
|
- '[a-z][.?!][A-Z]'
|