mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 18:35:07 +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.
31 lines
582 B
YAML
31 lines
582 B
YAML
extends: substitution
|
|
message: "Use '%s' instead of '%s'."
|
|
link: 'https://developers.google.com/style/contractions'
|
|
level: suggestion
|
|
ignorecase: true
|
|
action:
|
|
name: replace
|
|
swap:
|
|
are not: aren't
|
|
cannot: can't
|
|
could not: couldn't
|
|
did not: didn't
|
|
do not: don't
|
|
does not: doesn't
|
|
has not: hasn't
|
|
have not: haven't
|
|
how is: how's
|
|
is not: isn't
|
|
it is: it's
|
|
should not: shouldn't
|
|
that is: that's
|
|
they are: they're
|
|
was not: wasn't
|
|
we are: we're
|
|
we have: we've
|
|
were not: weren't
|
|
what is: what's
|
|
when is: when's
|
|
where is: where's
|
|
will not: won't
|