-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07127db
commit ad76e28
Showing
71 changed files
with
459 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
extends: existence | ||
message: 'Avoid hyphens in ages unless it clarifies the text.' | ||
message: "Avoid hyphens in ages unless it clarifies the text." | ||
level: error | ||
tokens: | ||
- '\d{1,3}-year-old' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
extends: substitution | ||
message: '%s' | ||
message: "%s" | ||
level: error | ||
ignorecase: true | ||
swap: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
extends: existence | ||
message: "Don't put a space before or after a dash." | ||
link: 'https://developers.google.com/style/dashes' | ||
link: "https://developers.google.com/style/dashes" | ||
nonword: true | ||
level: error | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- ' ' | ||
- " " | ||
tokens: | ||
- '\s[—–]\s' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
extends: existence | ||
message: "Use an em dash ('—') instead of '–'." | ||
link: 'https://developers.google.com/style/dashes' | ||
link: "https://developers.google.com/style/dashes" | ||
nonword: true | ||
level: error | ||
action: | ||
name: edit | ||
params: | ||
- replace | ||
- '-' | ||
- '—' | ||
- "-" | ||
- "—" | ||
tokens: | ||
- '–' | ||
- "–" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
extends: substitution | ||
message: "Consider using '%s' instead of '%s'." | ||
link: 'https://developers.google.com/style/inclusive-documentation' | ||
link: "https://developers.google.com/style/inclusive-documentation" | ||
ignorecase: true | ||
level: error | ||
swap: | ||
(?:alumna|alumnus): graduate | ||
(?:alumnae|alumni): graduates | ||
air(?:m[ae]n|wom[ae]n): pilot(s) | ||
anchor(?:m[ae]n|wom[ae]n): anchor(s) | ||
authoress: author | ||
camera(?:m[ae]n|wom[ae]n): camera operator(s) | ||
chair(?:m[ae]n|wom[ae]n): chair(s) | ||
(?:alumna|alumnus): graduate | ||
(?:alumnae|alumni): graduates | ||
air(?:m[ae]n|wom[ae]n): pilot(s) | ||
anchor(?:m[ae]n|wom[ae]n): anchor(s) | ||
authoress: author | ||
camera(?:m[ae]n|wom[ae]n): camera operator(s) | ||
chair(?:m[ae]n|wom[ae]n): chair(s) | ||
congress(?:m[ae]n|wom[ae]n): member(s) of congress | ||
door(?:m[ae]|wom[ae]n): concierge(s) | ||
draft(?:m[ae]n|wom[ae]n): drafter(s) | ||
fire(?:m[ae]n|wom[ae]n): firefighter(s) | ||
fisher(?:m[ae]n|wom[ae]n): fisher(s) | ||
fresh(?:m[ae]n|wom[ae]n): first-year student(s) | ||
garbage(?:m[ae]n|wom[ae]n): waste collector(s) | ||
lady lawyer: lawyer | ||
ladylike: courteous | ||
landlord: building manager | ||
mail(?:m[ae]n|wom[ae]n): mail carriers | ||
man and wife: husband and wife | ||
man enough: strong enough | ||
mankind: human kind | ||
manmade: manufactured | ||
manpower: personnel | ||
men and girls: men and women | ||
middle(?:m[ae]n|wom[ae]n): intermediary | ||
news(?:m[ae]n|wom[ae]n): journalist(s) | ||
ombuds(?:man|woman): ombuds | ||
oneupmanship: upstaging | ||
poetess: poet | ||
police(?:m[ae]n|wom[ae]n): police officer(s) | ||
repair(?:m[ae]n|wom[ae]n): technician(s) | ||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people | ||
service(?:m[ae]n|wom[ae]n): soldier(s) | ||
steward(?:ess)?: flight attendant | ||
tribes(?:m[ae]n|wom[ae]n): tribe member(s) | ||
waitress: waiter | ||
woman doctor: doctor | ||
woman scientist[s]?: scientist(s) | ||
work(?:m[ae]n|wom[ae]n): worker(s) | ||
door(?:m[ae]|wom[ae]n): concierge(s) | ||
draft(?:m[ae]n|wom[ae]n): drafter(s) | ||
fire(?:m[ae]n|wom[ae]n): firefighter(s) | ||
fisher(?:m[ae]n|wom[ae]n): fisher(s) | ||
fresh(?:m[ae]n|wom[ae]n): first-year student(s) | ||
garbage(?:m[ae]n|wom[ae]n): waste collector(s) | ||
lady lawyer: lawyer | ||
ladylike: courteous | ||
landlord: building manager | ||
mail(?:m[ae]n|wom[ae]n): mail carriers | ||
man and wife: husband and wife | ||
man enough: strong enough | ||
mankind: human kind | ||
manmade: manufactured | ||
manpower: personnel | ||
men and girls: men and women | ||
middle(?:m[ae]n|wom[ae]n): intermediary | ||
news(?:m[ae]n|wom[ae]n): journalist(s) | ||
ombuds(?:man|woman): ombuds | ||
oneupmanship: upstaging | ||
poetess: poet | ||
police(?:m[ae]n|wom[ae]n): police officer(s) | ||
repair(?:m[ae]n|wom[ae]n): technician(s) | ||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people | ||
service(?:m[ae]n|wom[ae]n): soldier(s) | ||
steward(?:ess)?: flight attendant | ||
tribes(?:m[ae]n|wom[ae]n): tribe member(s) | ||
waitress: waiter | ||
woman doctor: doctor | ||
woman scientist[s]?: scientist(s) | ||
work(?:m[ae]n|wom[ae]n): worker(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
extends: existence | ||
message: "Don't put a period at the end of a heading." | ||
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings' | ||
link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings" | ||
nonword: true | ||
level: error | ||
scope: heading | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- '.' | ||
- "." | ||
tokens: | ||
- '[a-z0-9][.]\s*$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
extends: existence | ||
message: "'%s' doesn't need a hyphen." | ||
link: 'https://developers.google.com/style/hyphens' | ||
link: "https://developers.google.com/style/hyphens" | ||
level: error | ||
ignorecase: false | ||
nonword: true | ||
action: | ||
name: edit | ||
params: | ||
- replace | ||
- '-' | ||
- ' ' | ||
- "-" | ||
- " " | ||
tokens: | ||
- '\s[^\s-]+ly-' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
extends: existence | ||
message: "Don't use plurals in parentheses such as in '%s'." | ||
link: 'https://developers.google.com/style/plurals-parentheses' | ||
link: "https://developers.google.com/style/plurals-parentheses" | ||
level: error | ||
nonword: true | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- '(s)' | ||
- "(s)" | ||
tokens: | ||
- '\b\w+\(s\)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
extends: existence | ||
message: "Use semicolons judiciously." | ||
link: 'https://developers.google.com/style/semicolons' | ||
link: "https://developers.google.com/style/semicolons" | ||
nonword: true | ||
scope: sentence | ||
level: error | ||
tokens: | ||
- ';' | ||
- ";" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
extends: existence | ||
message: "'%s' should have one space." | ||
link: 'https://developers.google.com/style/sentence-spacing' | ||
link: "https://developers.google.com/style/sentence-spacing" | ||
level: error | ||
nonword: true | ||
tokens: | ||
- '[a-z][.?!] {2,}[A-Z]' | ||
- '[a-z][.?!][A-Z]' | ||
- "[a-z][.?!] {2,}[A-Z]" | ||
- "[a-z][.?!][A-Z]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.