Skip to content

Commit

Permalink
update vale rules [skip deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
markzegarelli committed Jul 9, 2024
1 parent cd332d3 commit c5b0e12
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/styles/Amplitude/Accessibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tokens:
- maimed
- missing a limb
- mute
- normal
- normal #may be worth removing if it comes up, depends on context
- sight-impaired
- stricken with
- suffers from
Expand Down
6 changes: 4 additions & 2 deletions .github/styles/Amplitude/FirstPerson.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends: existence
message: "Avoid using first-person like '%s'. Use Amplitude, a product name, or the other company name."
ignorecase: true
level: warning
level: error
nonword: true
tokens:
- we
Expand All @@ -11,4 +11,6 @@ tokens:
- us
- let's
raw:
- (?:^|\s)I\s(?!want)
- (?:^|\s)I\s(?!want)
exceptions:
- US
2 changes: 1 addition & 1 deletion .github/styles/Amplitude/HeadingColons.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Capitalize '%s'."
message: "Don't use colons in headings."
nonword: true
level: suggestion
scope: heading
Expand Down
3 changes: 0 additions & 3 deletions .github/styles/Amplitude/HeadingGerunds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ exceptions:
- flushing
- batching
- exiting
- JSON
- String
- string
- Missing
- missing
- targeting
Expand Down
12 changes: 0 additions & 12 deletions .github/styles/Amplitude/We.yml

This file was deleted.

0 comments on commit c5b0e12

Please sign in to comment.