From ad76e285b1a436845b1c4917bde147ce405e783d Mon Sep 17 00:00:00 2001 From: Paddy Roddy Date: Fri, 27 Oct 2023 17:39:46 +0100 Subject: [PATCH] Run `pre-commit` --- .github/styles/18F/Ages.yml | 2 +- .github/styles/18F/Clarity.yml | 2 +- .github/styles/18F/OxfordComma.yml | 4 +- .github/styles/18F/Quotes.yml | 2 +- .github/styles/18F/Spacing.yml | 2 +- .github/styles/Google/AMPM.yml | 2 +- .github/styles/Google/Acronyms.yml | 2 +- .github/styles/Google/Colons.yml | 2 +- .github/styles/Google/DateFormat.yml | 2 +- .github/styles/Google/Ellipses.yml | 2 +- .github/styles/Google/EmDash.yml | 4 +- .github/styles/Google/EnDash.yml | 8 +- .github/styles/Google/Exclamation.yml | 2 +- .github/styles/Google/FirstPerson.yml | 2 +- .github/styles/Google/Gender.yml | 2 +- .github/styles/Google/GenderBias.yml | 78 ++++++++-------- .github/styles/Google/HeadingPunctuation.yml | 4 +- .github/styles/Google/Headings.yml | 4 +- .github/styles/Google/Latin.yml | 2 +- .github/styles/Google/LyHyphens.yml | 6 +- .github/styles/Google/OptionalPlurals.yml | 4 +- .github/styles/Google/Ordinal.yml | 2 +- .github/styles/Google/OxfordComma.yml | 2 +- .github/styles/Google/Parens.yml | 2 +- .github/styles/Google/Passive.yml | 2 +- .github/styles/Google/Periods.yml | 2 +- .github/styles/Google/Quotes.yml | 2 +- .github/styles/Google/Ranges.yml | 2 +- .github/styles/Google/Semicolons.yml | 4 +- .github/styles/Google/Slang.yml | 4 +- .github/styles/Google/Spacing.yml | 6 +- .github/styles/Google/Spelling.yml | 2 +- .github/styles/Google/Units.yml | 2 +- .github/styles/Google/We.yml | 2 +- .github/styles/Google/Will.yml | 2 +- .github/styles/Google/WordList.yml | 26 +++--- .github/styles/Microsoft/Dashes.yml | 2 +- .github/styles/Microsoft/GenderBias.yml | 76 ++++++++-------- .github/styles/Microsoft/HeadingAcronyms.yml | 2 +- .../styles/Microsoft/HeadingPunctuation.yml | 2 +- .github/styles/Microsoft/Headings.yml | 2 +- .github/styles/Microsoft/Hyphens.yml | 4 +- .github/styles/Microsoft/Negative.yml | 4 +- .github/styles/Microsoft/Quotes.yml | 2 +- .github/styles/Microsoft/RangeFormat.yml | 4 +- .github/styles/Microsoft/RangeTime.yml | 4 +- .github/styles/Microsoft/Ranges.yml | 2 +- .github/styles/Microsoft/Semicolon.yml | 2 +- .github/styles/Microsoft/Spacing.yml | 4 +- .github/styles/Microsoft/Terms.yml | 18 ++-- .github/styles/Microsoft/Units.yml | 8 +- .github/styles/Openly/GenderBias.yml | 82 ++++++++--------- .github/styles/Openly/QuoteType.yml | 2 +- .github/styles/Openly/Quotes.yml | 2 +- .github/styles/PlainLanguage/ComplexWords.yml | 2 +- .../styles/PlainLanguage/SentenceLength.yml | 4 +- .github/styles/custom/BritishSpelling.yml | 4 +- .github/styles/custom/ConsistentSpelling.yml | 64 +++++++------- .github/styles/custom/NoContractions.yml | 70 +++++++-------- .github/styles/custom/Reading.yml | 2 +- .github/styles/proselint/AnimalLabels.yml | 78 ++++++++-------- .github/styles/proselint/DenizenLabels.yml | 88 +++++++++---------- .github/styles/proselint/GenderBias.yml | 74 ++++++++-------- .github/styles/proselint/GroupTerms.yml | 62 ++++++------- .github/styles/proselint/Hedging.yml | 2 +- .github/styles/proselint/Hyperbole.yml | 2 +- .github/styles/proselint/LGBTTerms.yml | 16 ++-- .github/styles/proselint/Needless.yml | 10 +-- .github/styles/proselint/RASSyndrome.yml | 6 +- .github/styles/proselint/Typography.yml | 2 +- .github/styles/proselint/Uncomparables.yml | 10 +-- 71 files changed, 459 insertions(+), 459 deletions(-) diff --git a/.github/styles/18F/Ages.yml b/.github/styles/18F/Ages.yml index 265778b..e13275c 100644 --- a/.github/styles/18F/Ages.yml +++ b/.github/styles/18F/Ages.yml @@ -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' diff --git a/.github/styles/18F/Clarity.yml b/.github/styles/18F/Clarity.yml index db1f58a..ab0ccb6 100644 --- a/.github/styles/18F/Clarity.yml +++ b/.github/styles/18F/Clarity.yml @@ -1,6 +1,6 @@ --- extends: substitution -message: '%s' +message: "%s" level: error ignorecase: true swap: diff --git a/.github/styles/18F/OxfordComma.yml b/.github/styles/18F/OxfordComma.yml index 12d87b0..7609a32 100644 --- a/.github/styles/18F/OxfordComma.yml +++ b/.github/styles/18F/OxfordComma.yml @@ -1,7 +1,7 @@ --- extends: existence -message: 'Use the Oxford comma in a list of three or more items.' -link: 'https://contribute.jquery.org/style-guide/prose/#grammar' +message: "Use the Oxford comma in a list of three or more items." +link: "https://contribute.jquery.org/style-guide/prose/#grammar" scope: sentence level: error tokens: diff --git a/.github/styles/18F/Quotes.yml b/.github/styles/18F/Quotes.yml index 0f450c2..01adb46 100644 --- a/.github/styles/18F/Quotes.yml +++ b/.github/styles/18F/Quotes.yml @@ -1,6 +1,6 @@ --- extends: existence -message: 'Punctuation should be inside the quotes.' +message: "Punctuation should be inside the quotes." level: error nonword: true tokens: diff --git a/.github/styles/18F/Spacing.yml b/.github/styles/18F/Spacing.yml index ee3c28b..b7bf998 100644 --- a/.github/styles/18F/Spacing.yml +++ b/.github/styles/18F/Spacing.yml @@ -3,4 +3,4 @@ extends: existence message: "'%s' should have one space." level: error tokens: - - '[.?!] {2,}[A-Z]' + - "[.?!] {2,}[A-Z]" diff --git a/.github/styles/Google/AMPM.yml b/.github/styles/Google/AMPM.yml index fbdc6e4..518e1d4 100644 --- a/.github/styles/Google/AMPM.yml +++ b/.github/styles/Google/AMPM.yml @@ -1,6 +1,6 @@ extends: existence message: "Use 'AM' or 'PM' (preceded by a space)." -link: 'https://developers.google.com/style/word-list' +link: "https://developers.google.com/style/word-list" level: error nonword: true tokens: diff --git a/.github/styles/Google/Acronyms.yml b/.github/styles/Google/Acronyms.yml index 1c20789..17e99b7 100644 --- a/.github/styles/Google/Acronyms.yml +++ b/.github/styles/Google/Acronyms.yml @@ -1,6 +1,6 @@ extends: conditional message: "Spell out '%s', if it's unfamiliar to the audience." -link: 'https://developers.google.com/style/abbreviations' +link: "https://developers.google.com/style/abbreviations" level: error ignorecase: false # Ensures that the existence of 'first' implies the existence of 'second'. diff --git a/.github/styles/Google/Colons.yml b/.github/styles/Google/Colons.yml index e0e780d..f70da25 100644 --- a/.github/styles/Google/Colons.yml +++ b/.github/styles/Google/Colons.yml @@ -1,6 +1,6 @@ extends: existence message: "'%s' should be in lowercase." -link: 'https://developers.google.com/style/colons' +link: "https://developers.google.com/style/colons" nonword: true level: error scope: sentence diff --git a/.github/styles/Google/DateFormat.yml b/.github/styles/Google/DateFormat.yml index e9d227f..168aa4c 100644 --- a/.github/styles/Google/DateFormat.yml +++ b/.github/styles/Google/DateFormat.yml @@ -1,6 +1,6 @@ extends: existence message: "Use 'July 31, 2016' format, not '%s'." -link: 'https://developers.google.com/style/dates-times' +link: "https://developers.google.com/style/dates-times" ignorecase: true level: error nonword: true diff --git a/.github/styles/Google/Ellipses.yml b/.github/styles/Google/Ellipses.yml index 4f483f2..b3056fe 100644 --- a/.github/styles/Google/Ellipses.yml +++ b/.github/styles/Google/Ellipses.yml @@ -1,6 +1,6 @@ extends: existence message: "In general, don't use an ellipsis." -link: 'https://developers.google.com/style/ellipses' +link: "https://developers.google.com/style/ellipses" nonword: true level: error action: diff --git a/.github/styles/Google/EmDash.yml b/.github/styles/Google/EmDash.yml index 1befe72..9cb0464 100644 --- a/.github/styles/Google/EmDash.yml +++ b/.github/styles/Google/EmDash.yml @@ -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' diff --git a/.github/styles/Google/EnDash.yml b/.github/styles/Google/EnDash.yml index b314dc4..ec23a87 100644 --- a/.github/styles/Google/EnDash.yml +++ b/.github/styles/Google/EnDash.yml @@ -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: - - '–' + - "–" diff --git a/.github/styles/Google/Exclamation.yml b/.github/styles/Google/Exclamation.yml index 3e15181..e10c326 100644 --- a/.github/styles/Google/Exclamation.yml +++ b/.github/styles/Google/Exclamation.yml @@ -1,6 +1,6 @@ extends: existence message: "Don't use exclamation points in text." -link: 'https://developers.google.com/style/exclamation-points' +link: "https://developers.google.com/style/exclamation-points" nonword: true level: error tokens: diff --git a/.github/styles/Google/FirstPerson.yml b/.github/styles/Google/FirstPerson.yml index 00f9c4b..7df9256 100644 --- a/.github/styles/Google/FirstPerson.yml +++ b/.github/styles/Google/FirstPerson.yml @@ -1,6 +1,6 @@ extends: existence message: "Avoid first-person pronouns such as '%s'." -link: 'https://developers.google.com/style/pronouns#personal-pronouns' +link: "https://developers.google.com/style/pronouns#personal-pronouns" ignorecase: true level: error nonword: true diff --git a/.github/styles/Google/Gender.yml b/.github/styles/Google/Gender.yml index c848618..5eda946 100644 --- a/.github/styles/Google/Gender.yml +++ b/.github/styles/Google/Gender.yml @@ -1,6 +1,6 @@ extends: existence message: "Don't use '%s' as a gender-neutral pronoun." -link: 'https://developers.google.com/style/pronouns#gender-neutral-pronouns' +link: "https://developers.google.com/style/pronouns#gender-neutral-pronouns" level: error ignorecase: true tokens: diff --git a/.github/styles/Google/GenderBias.yml b/.github/styles/Google/GenderBias.yml index 261cfb6..8a21b5c 100644 --- a/.github/styles/Google/GenderBias.yml +++ b/.github/styles/Google/GenderBias.yml @@ -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) diff --git a/.github/styles/Google/HeadingPunctuation.yml b/.github/styles/Google/HeadingPunctuation.yml index bd83308..d6e517c 100644 --- a/.github/styles/Google/HeadingPunctuation.yml +++ b/.github/styles/Google/HeadingPunctuation.yml @@ -1,6 +1,6 @@ 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 @@ -8,6 +8,6 @@ action: name: edit params: - remove - - '.' + - "." tokens: - '[a-z0-9][.]\s*$' diff --git a/.github/styles/Google/Headings.yml b/.github/styles/Google/Headings.yml index 929db4d..e690573 100644 --- a/.github/styles/Google/Headings.yml +++ b/.github/styles/Google/Headings.yml @@ -1,11 +1,11 @@ extends: capitalization message: "'%s' should use sentence-style capitalization." -link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings' +link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings" level: error scope: heading match: $sentence indicators: - - ':' + - ":" exceptions: - Azure - CLI diff --git a/.github/styles/Google/Latin.yml b/.github/styles/Google/Latin.yml index d91700d..3ad563c 100644 --- a/.github/styles/Google/Latin.yml +++ b/.github/styles/Google/Latin.yml @@ -1,6 +1,6 @@ extends: substitution message: "Use '%s' instead of '%s'." -link: 'https://developers.google.com/style/abbreviations' +link: "https://developers.google.com/style/abbreviations" ignorecase: true level: error nonword: true diff --git a/.github/styles/Google/LyHyphens.yml b/.github/styles/Google/LyHyphens.yml index ac8f557..5c81934 100644 --- a/.github/styles/Google/LyHyphens.yml +++ b/.github/styles/Google/LyHyphens.yml @@ -1,6 +1,6 @@ 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 @@ -8,7 +8,7 @@ action: name: edit params: - replace - - '-' - - ' ' + - "-" + - " " tokens: - '\s[^\s-]+ly-' diff --git a/.github/styles/Google/OptionalPlurals.yml b/.github/styles/Google/OptionalPlurals.yml index f858ea6..0465e2d 100644 --- a/.github/styles/Google/OptionalPlurals.yml +++ b/.github/styles/Google/OptionalPlurals.yml @@ -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\)' diff --git a/.github/styles/Google/Ordinal.yml b/.github/styles/Google/Ordinal.yml index d1ac7d2..2e75b8d 100644 --- a/.github/styles/Google/Ordinal.yml +++ b/.github/styles/Google/Ordinal.yml @@ -1,6 +1,6 @@ extends: existence message: "Spell out all ordinal numbers ('%s') in text." -link: 'https://developers.google.com/style/numbers' +link: "https://developers.google.com/style/numbers" level: error nonword: true tokens: diff --git a/.github/styles/Google/OxfordComma.yml b/.github/styles/Google/OxfordComma.yml index 36aca98..ea1bc51 100644 --- a/.github/styles/Google/OxfordComma.yml +++ b/.github/styles/Google/OxfordComma.yml @@ -1,6 +1,6 @@ extends: existence message: "Use the Oxford comma in '%s'." -link: 'https://developers.google.com/style/commas' +link: "https://developers.google.com/style/commas" scope: sentence level: error tokens: diff --git a/.github/styles/Google/Parens.yml b/.github/styles/Google/Parens.yml index beda806..c4ca965 100644 --- a/.github/styles/Google/Parens.yml +++ b/.github/styles/Google/Parens.yml @@ -1,6 +1,6 @@ extends: existence message: "Use parentheses judiciously." -link: 'https://developers.google.com/style/parentheses' +link: "https://developers.google.com/style/parentheses" nonword: true level: error tokens: diff --git a/.github/styles/Google/Passive.yml b/.github/styles/Google/Passive.yml index 4255d07..d0b5024 100644 --- a/.github/styles/Google/Passive.yml +++ b/.github/styles/Google/Passive.yml @@ -1,5 +1,5 @@ extends: existence -link: 'https://developers.google.com/style/voice' +link: "https://developers.google.com/style/voice" message: "In general, use active voice instead of passive voice ('%s')." ignorecase: true level: error diff --git a/.github/styles/Google/Periods.yml b/.github/styles/Google/Periods.yml index d24a6a6..9bbf9e8 100644 --- a/.github/styles/Google/Periods.yml +++ b/.github/styles/Google/Periods.yml @@ -1,6 +1,6 @@ extends: existence message: "Don't use periods with acronyms or initialisms such as '%s'." -link: 'https://developers.google.com/style/abbreviations' +link: "https://developers.google.com/style/abbreviations" level: error nonword: true tokens: diff --git a/.github/styles/Google/Quotes.yml b/.github/styles/Google/Quotes.yml index 3cb6f1a..44118f9 100644 --- a/.github/styles/Google/Quotes.yml +++ b/.github/styles/Google/Quotes.yml @@ -1,6 +1,6 @@ extends: existence message: "Commas and periods go inside quotation marks." -link: 'https://developers.google.com/style/quotation-marks' +link: "https://developers.google.com/style/quotation-marks" level: error nonword: true tokens: diff --git a/.github/styles/Google/Ranges.yml b/.github/styles/Google/Ranges.yml index 30fb25d..afd62ec 100644 --- a/.github/styles/Google/Ranges.yml +++ b/.github/styles/Google/Ranges.yml @@ -1,6 +1,6 @@ extends: existence message: "Don't add words such as 'from' or 'between' to describe a range of numbers." -link: 'https://developers.google.com/style/hyphens' +link: "https://developers.google.com/style/hyphens" nonword: true level: error tokens: diff --git a/.github/styles/Google/Semicolons.yml b/.github/styles/Google/Semicolons.yml index 9fe4457..63fdd4e 100644 --- a/.github/styles/Google/Semicolons.yml +++ b/.github/styles/Google/Semicolons.yml @@ -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: - - ';' + - ";" diff --git a/.github/styles/Google/Slang.yml b/.github/styles/Google/Slang.yml index 63f4c24..802f819 100644 --- a/.github/styles/Google/Slang.yml +++ b/.github/styles/Google/Slang.yml @@ -1,10 +1,10 @@ extends: existence message: "Don't use internet slang abbreviations such as '%s'." -link: 'https://developers.google.com/style/abbreviations' +link: "https://developers.google.com/style/abbreviations" ignorecase: true level: error tokens: - - 'tl;dr' + - "tl;dr" - ymmv - rtfm - imo diff --git a/.github/styles/Google/Spacing.yml b/.github/styles/Google/Spacing.yml index 27f7ca2..dfc27be 100644 --- a/.github/styles/Google/Spacing.yml +++ b/.github/styles/Google/Spacing.yml @@ -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]" diff --git a/.github/styles/Google/Spelling.yml b/.github/styles/Google/Spelling.yml index 55baaa1..b2873df 100644 --- a/.github/styles/Google/Spelling.yml +++ b/.github/styles/Google/Spelling.yml @@ -1,6 +1,6 @@ extends: existence message: "In general, use American spelling instead of '%s'." -link: 'https://developers.google.com/style/spelling' +link: "https://developers.google.com/style/spelling" ignorecase: true level: error tokens: diff --git a/.github/styles/Google/Units.yml b/.github/styles/Google/Units.yml index 379fad6..8c2f4c8 100644 --- a/.github/styles/Google/Units.yml +++ b/.github/styles/Google/Units.yml @@ -1,6 +1,6 @@ extends: existence message: "Put a nonbreaking space between the number and the unit in '%s'." -link: 'https://developers.google.com/style/units-of-measure' +link: "https://developers.google.com/style/units-of-measure" nonword: true level: error tokens: diff --git a/.github/styles/Google/We.yml b/.github/styles/Google/We.yml index 8726054..d960890 100644 --- a/.github/styles/Google/We.yml +++ b/.github/styles/Google/We.yml @@ -1,6 +1,6 @@ extends: existence message: "Try to avoid using first-person plural like '%s'." -link: 'https://developers.google.com/style/pronouns#personal-pronouns' +link: "https://developers.google.com/style/pronouns#personal-pronouns" level: error ignorecase: true tokens: diff --git a/.github/styles/Google/Will.yml b/.github/styles/Google/Will.yml index 806c113..2e0b783 100644 --- a/.github/styles/Google/Will.yml +++ b/.github/styles/Google/Will.yml @@ -1,6 +1,6 @@ extends: existence message: "Avoid using '%s'." -link: 'https://developers.google.com/style/tense' +link: "https://developers.google.com/style/tense" ignorecase: true level: error tokens: diff --git a/.github/styles/Google/WordList.yml b/.github/styles/Google/WordList.yml index 330c057..37a6381 100644 --- a/.github/styles/Google/WordList.yml +++ b/.github/styles/Google/WordList.yml @@ -1,25 +1,25 @@ extends: substitution message: "Use '%s' instead of '%s'." -link: 'https://developers.google.com/style/word-list' +link: "https://developers.google.com/style/word-list" level: error ignorecase: false action: name: replace swap: - '(?:API Console|dev|developer) key': API key - '(?:cell ?phone|smart ?phone)': phone|mobile phone - '(?:dev|developer|APIs) console': API console - '(?:e-mail|Email|E-mail)': email - '(?:file ?path|path ?name)': path - '(?:kill|terminate|abort)': stop|exit|cancel|end - '(?:OAuth ?2|Oauth)': OAuth 2.0 - '(?:ok|Okay)': OK|okay - '(?:WiFi|wifi)': Wi-Fi + "(?:API Console|dev|developer) key": API key + "(?:cell ?phone|smart ?phone)": phone|mobile phone + "(?:dev|developer|APIs) console": API console + "(?:e-mail|Email|E-mail)": email + "(?:file ?path|path ?name)": path + "(?:kill|terminate|abort)": stop|exit|cancel|end + "(?:OAuth ?2|Oauth)": OAuth 2.0 + "(?:ok|Okay)": OK|okay + "(?:WiFi|wifi)": Wi-Fi '[\.]+apk': APK '3\-D': 3D 'Google (?:I\-O|IO)': Google I/O - 'tap (?:&|and) hold': touch & hold - 'un(?:check|select)': clear + "tap (?:&|and) hold": touch & hold + "un(?:check|select)": clear above: preceding account name: username action bar: app bar @@ -75,6 +75,6 @@ swap: tablename: table name tablet: device touch: tap - url: URL + url: URL vs\.: versus World Wide Web: web diff --git a/.github/styles/Microsoft/Dashes.yml b/.github/styles/Microsoft/Dashes.yml index 2894cf7..cb8947e 100644 --- a/.github/styles/Microsoft/Dashes.yml +++ b/.github/styles/Microsoft/Dashes.yml @@ -8,6 +8,6 @@ action: name: edit params: - remove - - ' ' + - " " tokens: - '[—–]\s|\s[—–]' diff --git a/.github/styles/Microsoft/GenderBias.yml b/.github/styles/Microsoft/GenderBias.yml index 3d873aa..0bdeb57 100644 --- a/.github/styles/Microsoft/GenderBias.yml +++ b/.github/styles/Microsoft/GenderBias.yml @@ -3,42 +3,42 @@ message: "Consider using '%s' instead of '%s'." 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) diff --git a/.github/styles/Microsoft/HeadingAcronyms.yml b/.github/styles/Microsoft/HeadingAcronyms.yml index 886b501..0354689 100644 --- a/.github/styles/Microsoft/HeadingAcronyms.yml +++ b/.github/styles/Microsoft/HeadingAcronyms.yml @@ -4,4 +4,4 @@ link: https://docs.microsoft.com/en-us/style-guide/acronyms#be-careful-with-acro level: error scope: heading tokens: - - '[A-Z]{2,4}' + - "[A-Z]{2,4}" diff --git a/.github/styles/Microsoft/HeadingPunctuation.yml b/.github/styles/Microsoft/HeadingPunctuation.yml index fb91293..c112e40 100644 --- a/.github/styles/Microsoft/HeadingPunctuation.yml +++ b/.github/styles/Microsoft/HeadingPunctuation.yml @@ -8,6 +8,6 @@ action: name: edit params: - remove - - '.?!' + - ".?!" tokens: - '[a-z][.?!](?:\s|$)' diff --git a/.github/styles/Microsoft/Headings.yml b/.github/styles/Microsoft/Headings.yml index 2d11640..35b5b3d 100644 --- a/.github/styles/Microsoft/Headings.yml +++ b/.github/styles/Microsoft/Headings.yml @@ -5,7 +5,7 @@ level: error scope: heading match: $sentence indicators: - - ':' + - ":" exceptions: - Azure - CLI diff --git a/.github/styles/Microsoft/Hyphens.yml b/.github/styles/Microsoft/Hyphens.yml index e8de13a..ffe75e4 100644 --- a/.github/styles/Microsoft/Hyphens.yml +++ b/.github/styles/Microsoft/Hyphens.yml @@ -8,7 +8,7 @@ action: name: edit params: - replace - - '-' - - ' ' + - "-" + - " " tokens: - '\s[^\s-]+ly-' diff --git a/.github/styles/Microsoft/Negative.yml b/.github/styles/Microsoft/Negative.yml index d6ff2f2..2030966 100644 --- a/.github/styles/Microsoft/Negative.yml +++ b/.github/styles/Microsoft/Negative.yml @@ -7,7 +7,7 @@ action: name: edit params: - replace - - '-' - - '–' + - "-" + - "–" tokens: - '\s-\d+\s' diff --git a/.github/styles/Microsoft/Quotes.yml b/.github/styles/Microsoft/Quotes.yml index 38f4976..37fb92a 100644 --- a/.github/styles/Microsoft/Quotes.yml +++ b/.github/styles/Microsoft/Quotes.yml @@ -1,5 +1,5 @@ extends: existence -message: 'Punctuation should be inside the quotes.' +message: "Punctuation should be inside the quotes." link: https://docs.microsoft.com/en-us/style-guide/punctuation/quotation-marks level: error nonword: true diff --git a/.github/styles/Microsoft/RangeFormat.yml b/.github/styles/Microsoft/RangeFormat.yml index f1d736e..0648501 100644 --- a/.github/styles/Microsoft/RangeFormat.yml +++ b/.github/styles/Microsoft/RangeFormat.yml @@ -7,7 +7,7 @@ action: name: edit params: - replace - - '-' - - '–' + - "-" + - "–" tokens: - '\b\d+\s?[-]\s?\d+\b' diff --git a/.github/styles/Microsoft/RangeTime.yml b/.github/styles/Microsoft/RangeTime.yml index cdd4b33..a5583e3 100644 --- a/.github/styles/Microsoft/RangeTime.yml +++ b/.github/styles/Microsoft/RangeTime.yml @@ -7,7 +7,7 @@ action: name: edit params: - replace - - '[-–]' - - 'to' + - "[-–]" + - "to" tokens: - '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b' diff --git a/.github/styles/Microsoft/Ranges.yml b/.github/styles/Microsoft/Ranges.yml index de2e0ec..82b60cc 100644 --- a/.github/styles/Microsoft/Ranges.yml +++ b/.github/styles/Microsoft/Ranges.yml @@ -1,6 +1,6 @@ extends: existence message: "In most cases, use 'from' or 'through' to describe a range of numbers." -link: 'https://docs.microsoft.com/en-us/style-guide/numbers' +link: "https://docs.microsoft.com/en-us/style-guide/numbers" nonword: true level: error tokens: diff --git a/.github/styles/Microsoft/Semicolon.yml b/.github/styles/Microsoft/Semicolon.yml index 8b1a6b1..dc04699 100644 --- a/.github/styles/Microsoft/Semicolon.yml +++ b/.github/styles/Microsoft/Semicolon.yml @@ -5,4 +5,4 @@ nonword: true scope: sentence level: error tokens: - - ';' + - ";" diff --git a/.github/styles/Microsoft/Spacing.yml b/.github/styles/Microsoft/Spacing.yml index bbd10e5..c8b5236 100644 --- a/.github/styles/Microsoft/Spacing.yml +++ b/.github/styles/Microsoft/Spacing.yml @@ -4,5 +4,5 @@ link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods level: error nonword: true tokens: - - '[a-z][.?!] {2,}[A-Z]' - - '[a-z][.?!][A-Z]' + - "[a-z][.?!] {2,}[A-Z]" + - "[a-z][.?!][A-Z]" diff --git a/.github/styles/Microsoft/Terms.yml b/.github/styles/Microsoft/Terms.yml index 2e67c76..d3ae682 100644 --- a/.github/styles/Microsoft/Terms.yml +++ b/.github/styles/Microsoft/Terms.yml @@ -5,15 +5,15 @@ ignorecase: true action: name: replace swap: - '(?:agent|virtual assistant|intelligent personal assistant)': personal digital assistant - '(?:drive C:|drive C>|C: drive)': drive C - '(?:internet bot|web robot)s?': bot(s) - '(?:microsoft cloud|the cloud)': cloud - '(?:mobile|smart) ?phone': phone - '24/7': every day - 'audio(?:-| )book': audiobook - 'back(?:-| )light': backlight - 'chat ?bots?': chatbot(s) + "(?:agent|virtual assistant|intelligent personal assistant)": personal digital assistant + "(?:drive C:|drive C>|C: drive)": drive C + "(?:internet bot|web robot)s?": bot(s) + "(?:microsoft cloud|the cloud)": cloud + "(?:mobile|smart) ?phone": phone + "24/7": every day + "audio(?:-| )book": audiobook + "back(?:-| )light": backlight + "chat ?bots?": chatbot(s) adaptor: adapter administrate: administer afterwards: afterward diff --git a/.github/styles/Microsoft/Units.yml b/.github/styles/Microsoft/Units.yml index f062418..4e3d71e 100644 --- a/.github/styles/Microsoft/Units.yml +++ b/.github/styles/Microsoft/Units.yml @@ -5,10 +5,10 @@ level: error raw: - '[a-zA-Z]+\s' tokens: - - '(?:centi|milli)?meters' - - '(?:kilo)?grams' - - '(?:kilo)?meters' - - '(?:mega)?pixels' + - "(?:centi|milli)?meters" + - "(?:kilo)?grams" + - "(?:kilo)?meters" + - "(?:mega)?pixels" - cm - inches - lb diff --git a/.github/styles/Openly/GenderBias.yml b/.github/styles/Openly/GenderBias.yml index 82f2b3c..d38282d 100644 --- a/.github/styles/Openly/GenderBias.yml +++ b/.github/styles/Openly/GenderBias.yml @@ -4,46 +4,46 @@ message: Consider using '%s' instead of '%s' ignorecase: true level: error swap: - (?:alumna|alumnus): graduate - (?:alumnae|alumni): graduates - (?:mother|father)land: native land - (?:mother|father)tongue: native tongue - air(?:m[ae]n|wom[ae]n): pilot(s) - anchor(?:m[ae]n|wom[ae]n): anchor(s) - authoress: author + (?:alumna|alumnus): graduate + (?:alumnae|alumni): graduates + (?:mother|father)land: native land + (?:mother|father)tongue: native tongue + air(?:m[ae]n|wom[ae]n): pilot(s) + anchor(?:m[ae]n|wom[ae]n): anchor(s) + authoress: author business(?:m[ae]n|wom[ae]n): business person - camera(?:m[ae]n|wom[ae]n): camera operator(s) - chair(?:m[ae]n|wom[ae]n): chair(s) + 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]n|wom[ae]n): concierge(s) - drafts(?: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) - guys: everyone - 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 - manpower: human resources - manmade: manufactured - 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]n|wom[ae]n): concierge(s) + drafts(?: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) + guys: everyone + 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 + manpower: human resources + manmade: manufactured + 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) diff --git a/.github/styles/Openly/QuoteType.yml b/.github/styles/Openly/QuoteType.yml index fd762dd..c70dffe 100644 --- a/.github/styles/Openly/QuoteType.yml +++ b/.github/styles/Openly/QuoteType.yml @@ -3,5 +3,5 @@ message: "Inconsistent use of '%s' ('smart' mixed with 'dumb')" level: error nonword: true either: - '"': '[”“]' + '"': "[”“]" "'": "[‘’]" diff --git a/.github/styles/Openly/Quotes.yml b/.github/styles/Openly/Quotes.yml index 1403d3e..166b75b 100644 --- a/.github/styles/Openly/Quotes.yml +++ b/.github/styles/Openly/Quotes.yml @@ -1,6 +1,6 @@ --- extends: existence -message: 'Punctuation should be inside the quotes.' +message: "Punctuation should be inside the quotes." level: error nonword: true tokens: diff --git a/.github/styles/PlainLanguage/ComplexWords.yml b/.github/styles/PlainLanguage/ComplexWords.yml index dd6851d..53e5d5b 100644 --- a/.github/styles/PlainLanguage/ComplexWords.yml +++ b/.github/styles/PlainLanguage/ComplexWords.yml @@ -5,7 +5,7 @@ link: http://www.plainlanguage.gov/howto/wordsuggestions/simplewords.cfm ignorecase: true level: error swap: - 'approximate(?:ly)?': "'about'" + "approximate(?:ly)?": "'about'" absent: "'none' or 'not here'" abundance: "'plenty'" accelerate: "'speed up'" diff --git a/.github/styles/PlainLanguage/SentenceLength.yml b/.github/styles/PlainLanguage/SentenceLength.yml index 8a26fa1..b2315d0 100644 --- a/.github/styles/PlainLanguage/SentenceLength.yml +++ b/.github/styles/PlainLanguage/SentenceLength.yml @@ -1,7 +1,7 @@ --- extends: occurrence -message: 'Keep sentences short and to the point' -description: 'A good rule-of-thumb is to break up any sentence longer than 21 words into two or more separate thoughts.' +message: "Keep sentences short and to the point" +description: "A good rule-of-thumb is to break up any sentence longer than 21 words into two or more separate thoughts." scope: sentence level: error max: 21 diff --git a/.github/styles/custom/BritishSpelling.yml b/.github/styles/custom/BritishSpelling.yml index fcbbde0..68d27c2 100644 --- a/.github/styles/custom/BritishSpelling.yml +++ b/.github/styles/custom/BritishSpelling.yml @@ -3,6 +3,6 @@ message: "'%s' is a typo!" level: error dicpath: .github/styles/custom/dict dictionaries: - - en_GB + - en_GB ignore: - - custom/ignore/dictionary.txt + - custom/ignore/dictionary.txt diff --git a/.github/styles/custom/ConsistentSpelling.yml b/.github/styles/custom/ConsistentSpelling.yml index 4e9fe2c..b681ff2 100644 --- a/.github/styles/custom/ConsistentSpelling.yml +++ b/.github/styles/custom/ConsistentSpelling.yml @@ -3,35 +3,35 @@ message: Use '%s' instead of '%s' ignorecase: true level: error swap: - 2D: two-dimensional - 3D: three-dimensional - band-limit: bandlimit - band-limited: bandlimited - band-pass: bandpass - co-latitude: colatitude - co-latitudinal: colatitudinal - discretized: discretised - four dimensional: four-dimensional - full sky: full-sky - hard threshold: hard-threshold - hard thresholded: hard-thresholded - hard thresholding: hard-thresholding - harmonic-space: harmonic space - high frequency: high-frequency - low frequency: low-frequency - non zero: non-zero - one dimensional: one-dimensional - pixel space: real space - pixel-space: real space - real-space: real space - scale dependent: scale-dependent - scale discretised: scale-discretised - signal to noise: signal-to-noise - so called: so-called - square integrable: square-integrable - three dimensional: three-dimensional - time frequency: time-frequency - top to bottom: top-to-bottom - two dimensional: two-dimensional - well localised: well-localised - zero mean: zero-mean + 2D: two-dimensional + 3D: three-dimensional + band-limit: bandlimit + band-limited: bandlimited + band-pass: bandpass + co-latitude: colatitude + co-latitudinal: colatitudinal + discretized: discretised + four dimensional: four-dimensional + full sky: full-sky + hard threshold: hard-threshold + hard thresholded: hard-thresholded + hard thresholding: hard-thresholding + harmonic-space: harmonic space + high frequency: high-frequency + low frequency: low-frequency + non zero: non-zero + one dimensional: one-dimensional + pixel space: real space + pixel-space: real space + real-space: real space + scale dependent: scale-dependent + scale discretised: scale-discretised + signal to noise: signal-to-noise + so called: so-called + square integrable: square-integrable + three dimensional: three-dimensional + time frequency: time-frequency + top to bottom: top-to-bottom + two dimensional: two-dimensional + well localised: well-localised + zero mean: zero-mean diff --git a/.github/styles/custom/NoContractions.yml b/.github/styles/custom/NoContractions.yml index 4670d5e..31075f2 100644 --- a/.github/styles/custom/NoContractions.yml +++ b/.github/styles/custom/NoContractions.yml @@ -4,38 +4,38 @@ message: Use '%s' instead of '%s.' level: error ignorecase: true swap: - aren't: are not, - can't: cannot, - couldn't: could not, - didn't: did not, - doesn't: does not, - don't: do not, - hasn't: has not, - haven't: have not, - how'll: how will, - how's: how is, - isn't: is not, - it'll: it will, - it's: it is, - shouldn't: should not - that'll: that will, - that's: that is, - they'll: they will, - they're: they are, - wasn't: was not, - we'll: we will, - we're: we are, - we've: we have, - weren't: were not, - what'll: what will, - what's: what is, - when'll: when will, - when's: when is, - where'll: where will, - where's: where is, - who'll: who will, - who's: who is, - why'll: why will, - why's: why is, - won't: will not, - you're: you are + aren't: are not, + can't: cannot, + couldn't: could not, + didn't: did not, + doesn't: does not, + don't: do not, + hasn't: has not, + haven't: have not, + how'll: how will, + how's: how is, + isn't: is not, + it'll: it will, + it's: it is, + shouldn't: should not + that'll: that will, + that's: that is, + they'll: they will, + they're: they are, + wasn't: was not, + we'll: we will, + we're: we are, + we've: we have, + weren't: were not, + what'll: what will, + what's: what is, + when'll: when will, + when's: when is, + where'll: where will, + where's: where is, + who'll: who will, + who's: who is, + why'll: why will, + why's: why is, + won't: will not, + you're: you are diff --git a/.github/styles/custom/Reading.yml b/.github/styles/custom/Reading.yml index cedfc04..f3a7676 100644 --- a/.github/styles/custom/Reading.yml +++ b/.github/styles/custom/Reading.yml @@ -3,4 +3,4 @@ message: "Grade level (%s) too high!" level: error grade: 8 metrics: - - Flesch-Kincaid + - Flesch-Kincaid diff --git a/.github/styles/proselint/AnimalLabels.yml b/.github/styles/proselint/AnimalLabels.yml index b92e06f..c3fe221 100644 --- a/.github/styles/proselint/AnimalLabels.yml +++ b/.github/styles/proselint/AnimalLabels.yml @@ -4,45 +4,45 @@ level: error action: name: replace swap: - (?:bull|ox)-like: taurine + (?:bull|ox)-like: taurine (?:calf|veal)-like: vituline (?:crow|raven)-like: corvine (?:leopard|panther)-like: pardine - bird-like: avine - centipede-like: scolopendrine - crab-like: cancrine - crocodile-like: crocodiline - deer-like: damine - eagle-like: aquiline - earthworm-like: lumbricine - falcon-like: falconine - ferine: wild animal-like - fish-like: piscine - fox-like: vulpine - frog-like: ranine - goat-like: hircine - goose-like: anserine - gull-like: laridine - hare-like: leporine - hawk-like: accipitrine - hippopotamus-like: hippopotamine - lizard-like: lacertine - mongoose-like: viverrine - mouse-like: murine - ostrich-like: struthionine - peacock-like: pavonine - porcupine-like: hystricine - rattlesnake-like: crotaline - sable-like: zibeline - sheep-like: ovine - shrew-like: soricine - sparrow-like: passerine - swallow-like: hirundine - swine-like: suilline - tiger-like: tigrine - viper-like: viperine - vulture-like: vulturine - wasp-like: vespine - wolf-like: lupine - woodpecker-like: picine - zebra-like: zebrine + bird-like: avine + centipede-like: scolopendrine + crab-like: cancrine + crocodile-like: crocodiline + deer-like: damine + eagle-like: aquiline + earthworm-like: lumbricine + falcon-like: falconine + ferine: wild animal-like + fish-like: piscine + fox-like: vulpine + frog-like: ranine + goat-like: hircine + goose-like: anserine + gull-like: laridine + hare-like: leporine + hawk-like: accipitrine + hippopotamus-like: hippopotamine + lizard-like: lacertine + mongoose-like: viverrine + mouse-like: murine + ostrich-like: struthionine + peacock-like: pavonine + porcupine-like: hystricine + rattlesnake-like: crotaline + sable-like: zibeline + sheep-like: ovine + shrew-like: soricine + sparrow-like: passerine + swallow-like: hirundine + swine-like: suilline + tiger-like: tigrine + viper-like: viperine + vulture-like: vulturine + wasp-like: vespine + wolf-like: lupine + woodpecker-like: picine + zebra-like: zebrine diff --git a/.github/styles/proselint/DenizenLabels.yml b/.github/styles/proselint/DenizenLabels.yml index bc3dd8a..db1cdc9 100644 --- a/.github/styles/proselint/DenizenLabels.yml +++ b/.github/styles/proselint/DenizenLabels.yml @@ -4,49 +4,49 @@ ignorecase: false action: name: replace swap: - (?:Afrikaaner|Afrikander): Afrikaner - (?:Hong Kongite|Hong Kongian): Hong Konger - (?:Indianan|Indianian): Hoosier - (?:Michiganite|Michiganian): Michigander + (?:Afrikaaner|Afrikander): Afrikaner + (?:Hong Kongite|Hong Kongian): Hong Konger + (?:Indianan|Indianian): Hoosier + (?:Michiganite|Michiganian): Michigander (?:New Hampshireite|New Hampshireman): New Hampshirite - (?:Newcastlite|Newcastleite): Novocastrian - (?:Providencian|Providencer): Providentian - (?:Trentian|Trentonian): Tridentine - (?:Warsawer|Warsawian): Varsovian + (?:Newcastlite|Newcastleite): Novocastrian + (?:Providencian|Providencer): Providentian + (?:Trentian|Trentonian): Tridentine + (?:Warsawer|Warsawian): Varsovian (?:Wolverhamptonite|Wolverhamptonian): Wulfrunian - Alabaman: Alabamian - Albuquerquian: Albuquerquean - Anchoragite: Anchorageite - Arizonian: Arizonan - Arkansawyer: Arkansan - Belarusan: Belarusian - Cayman Islander: Caymanian - Coloradoan: Coloradan - Connecticuter: Nutmegger - Fairbanksian: Fairbanksan - Fort Worther: Fort Worthian - Grenadian: Grenadan - Halifaxer: Haligonian - Hartlepoolian: Hartlepudlian - Illinoisian: Illinoisan - Iowegian: Iowan - Leedsian: Leodenisian - Liverpoolian: Liverpudlian - Los Angelean: Angeleno - Manchesterian: Mancunian - Minneapolisian: Minneapolitan - Missouran: Missourian - Monacan: Monegasque - Neopolitan: Neapolitan - New Jerseyite: New Jerseyan - New Orleansian: New Orleanian - Oklahoma Citian: Oklahoma Cityan - Oklahomian: Oklahoman - Saudi Arabian: Saudi - Seattlite: Seattleite - Surinamer: Surinamese - Tallahassean: Tallahasseean - Tennesseean: Tennessean - Trois-Rivièrester: Trifluvian - Utahan: Utahn - Valladolidian: Vallisoletano + Alabaman: Alabamian + Albuquerquian: Albuquerquean + Anchoragite: Anchorageite + Arizonian: Arizonan + Arkansawyer: Arkansan + Belarusan: Belarusian + Cayman Islander: Caymanian + Coloradoan: Coloradan + Connecticuter: Nutmegger + Fairbanksian: Fairbanksan + Fort Worther: Fort Worthian + Grenadian: Grenadan + Halifaxer: Haligonian + Hartlepoolian: Hartlepudlian + Illinoisian: Illinoisan + Iowegian: Iowan + Leedsian: Leodenisian + Liverpoolian: Liverpudlian + Los Angelean: Angeleno + Manchesterian: Mancunian + Minneapolisian: Minneapolitan + Missouran: Missourian + Monacan: Monegasque + Neopolitan: Neapolitan + New Jerseyite: New Jerseyan + New Orleansian: New Orleanian + Oklahoma Citian: Oklahoma Cityan + Oklahomian: Oklahoman + Saudi Arabian: Saudi + Seattlite: Seattleite + Surinamer: Surinamese + Tallahassean: Tallahasseean + Tennesseean: Tennessean + Trois-Rivièrester: Trifluvian + Utahan: Utahn + Valladolidian: Vallisoletano diff --git a/.github/styles/proselint/GenderBias.yml b/.github/styles/proselint/GenderBias.yml index d98d3cf..921213b 100644 --- a/.github/styles/proselint/GenderBias.yml +++ b/.github/styles/proselint/GenderBias.yml @@ -5,41 +5,41 @@ level: error action: name: replace swap: - (?:alumnae|alumni): graduates - (?:alumna|alumnus): graduate - 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) + (?:alumnae|alumni): graduates + (?:alumna|alumnus): graduate + 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 - 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 + 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) diff --git a/.github/styles/proselint/GroupTerms.yml b/.github/styles/proselint/GroupTerms.yml index 7a59fa4..acb4bed 100644 --- a/.github/styles/proselint/GroupTerms.yml +++ b/.github/styles/proselint/GroupTerms.yml @@ -4,36 +4,36 @@ ignorecase: true action: name: replace swap: - (?:bunch|group|pack|flock) of chickens: brood of chickens - (?:bunch|group|pack|flock) of crows: murder of crows - (?:bunch|group|pack|flock) of hawks: cast of hawks - (?:bunch|group|pack|flock) of parrots: pandemonium of parrots - (?:bunch|group|pack|flock) of peacocks: muster of peacocks - (?:bunch|group|pack|flock) of penguins: muster of penguins - (?:bunch|group|pack|flock) of sparrows: host of sparrows - (?:bunch|group|pack|flock) of turkeys: rafter of turkeys + (?:bunch|group|pack|flock) of chickens: brood of chickens + (?:bunch|group|pack|flock) of crows: murder of crows + (?:bunch|group|pack|flock) of hawks: cast of hawks + (?:bunch|group|pack|flock) of parrots: pandemonium of parrots + (?:bunch|group|pack|flock) of peacocks: muster of peacocks + (?:bunch|group|pack|flock) of penguins: muster of penguins + (?:bunch|group|pack|flock) of sparrows: host of sparrows + (?:bunch|group|pack|flock) of turkeys: rafter of turkeys (?:bunch|group|pack|flock) of woodpeckers: descent of woodpeckers - (?:bunch|group|pack|herd) of apes: shrewdness of apes - (?:bunch|group|pack|herd) of baboons: troop of baboons - (?:bunch|group|pack|herd) of badgers: cete of badgers - (?:bunch|group|pack|herd) of bears: sloth of bears - (?:bunch|group|pack|herd) of bullfinches: bellowing of bullfinches - (?:bunch|group|pack|herd) of bullocks: drove of bullocks + (?:bunch|group|pack|herd) of apes: shrewdness of apes + (?:bunch|group|pack|herd) of baboons: troop of baboons + (?:bunch|group|pack|herd) of badgers: cete of badgers + (?:bunch|group|pack|herd) of bears: sloth of bears + (?:bunch|group|pack|herd) of bullfinches: bellowing of bullfinches + (?:bunch|group|pack|herd) of bullocks: drove of bullocks (?:bunch|group|pack|herd) of caterpillars: army of caterpillars - (?:bunch|group|pack|herd) of cats: clowder of cats - (?:bunch|group|pack|herd) of colts: rag of colts - (?:bunch|group|pack|herd) of crocodiles: bask of crocodiles - (?:bunch|group|pack|herd) of dolphins: school of dolphins - (?:bunch|group|pack|herd) of foxes: skulk of foxes - (?:bunch|group|pack|herd) of gorillas: band of gorillas - (?:bunch|group|pack|herd) of hippopotami: bloat of hippopotami - (?:bunch|group|pack|herd) of horses: drove of horses - (?:bunch|group|pack|herd) of jellyfish: fluther of jellyfish - (?:bunch|group|pack|herd) of kangeroos: mob of kangeroos - (?:bunch|group|pack|herd) of monkeys: troop of monkeys - (?:bunch|group|pack|herd) of oxen: yoke of oxen - (?:bunch|group|pack|herd) of rhinoceros: crash of rhinoceros - (?:bunch|group|pack|herd) of wild boar: sounder of wild boar - (?:bunch|group|pack|herd) of wild pigs: drift of wild pigs - (?:bunch|group|pack|herd) of zebras: zeal of wild pigs - (?:bunch|group|pack|school) of trout: hover of trout + (?:bunch|group|pack|herd) of cats: clowder of cats + (?:bunch|group|pack|herd) of colts: rag of colts + (?:bunch|group|pack|herd) of crocodiles: bask of crocodiles + (?:bunch|group|pack|herd) of dolphins: school of dolphins + (?:bunch|group|pack|herd) of foxes: skulk of foxes + (?:bunch|group|pack|herd) of gorillas: band of gorillas + (?:bunch|group|pack|herd) of hippopotami: bloat of hippopotami + (?:bunch|group|pack|herd) of horses: drove of horses + (?:bunch|group|pack|herd) of jellyfish: fluther of jellyfish + (?:bunch|group|pack|herd) of kangeroos: mob of kangeroos + (?:bunch|group|pack|herd) of monkeys: troop of monkeys + (?:bunch|group|pack|herd) of oxen: yoke of oxen + (?:bunch|group|pack|herd) of rhinoceros: crash of rhinoceros + (?:bunch|group|pack|herd) of wild boar: sounder of wild boar + (?:bunch|group|pack|herd) of wild pigs: drift of wild pigs + (?:bunch|group|pack|herd) of zebras: zeal of wild pigs + (?:bunch|group|pack|school) of trout: hover of trout diff --git a/.github/styles/proselint/Hedging.yml b/.github/styles/proselint/Hedging.yml index a8615f8..3f924e1 100644 --- a/.github/styles/proselint/Hedging.yml +++ b/.github/styles/proselint/Hedging.yml @@ -4,5 +4,5 @@ ignorecase: true level: error tokens: - I would argue that - - ', so to speak' + - ", so to speak" - to a certain degree diff --git a/.github/styles/proselint/Hyperbole.yml b/.github/styles/proselint/Hyperbole.yml index 0361772..64a672a 100644 --- a/.github/styles/proselint/Hyperbole.yml +++ b/.github/styles/proselint/Hyperbole.yml @@ -3,4 +3,4 @@ message: "'%s' is hyperbolic." level: error nonword: true tokens: - - '[a-z]+[!?]{2,}' + - "[a-z]+[!?]{2,}" diff --git a/.github/styles/proselint/LGBTTerms.yml b/.github/styles/proselint/LGBTTerms.yml index efdf268..572755f 100644 --- a/.github/styles/proselint/LGBTTerms.yml +++ b/.github/styles/proselint/LGBTTerms.yml @@ -4,12 +4,12 @@ ignorecase: true action: name: replace swap: - homosexual man: gay man - homosexual men: gay men - homosexual woman: lesbian - homosexual women: lesbians - homosexual people: gay people - homosexual couple: gay couple - sexual preference: sexual orientation + homosexual man: gay man + homosexual men: gay men + homosexual woman: lesbian + homosexual women: lesbians + homosexual people: gay people + homosexual couple: gay couple + sexual preference: sexual orientation (?:admitted homosexual|avowed homosexual): openly gay - special rights: equal rights + special rights: equal rights diff --git a/.github/styles/proselint/Needless.yml b/.github/styles/proselint/Needless.yml index 1f2732e..bab26ea 100644 --- a/.github/styles/proselint/Needless.yml +++ b/.github/styles/proselint/Needless.yml @@ -4,11 +4,11 @@ ignorecase: true action: name: replace swap: - '(?:cell phone|cell-phone)': cellphone - '(?:cliquey|cliquy)': cliquish - '(?:pygmean|pygmaen)': pygmy - '(?:retributional|retributionary)': retributive - '(?:revokable|revokeable)': revocable + "(?:cell phone|cell-phone)": cellphone + "(?:cliquey|cliquy)": cliquish + "(?:pygmean|pygmaen)": pygmy + "(?:retributional|retributionary)": retributive + "(?:revokable|revokeable)": revocable abolishment: abolition accessary: accessory accreditate: accredit diff --git a/.github/styles/proselint/RASSyndrome.yml b/.github/styles/proselint/RASSyndrome.yml index deae9c7..e2f93d9 100644 --- a/.github/styles/proselint/RASSyndrome.yml +++ b/.github/styles/proselint/RASSyndrome.yml @@ -4,9 +4,9 @@ level: error action: name: edit params: - - split - - ' ' - - '0' + - split + - " " + - "0" tokens: - ABM missile - ACT test diff --git a/.github/styles/proselint/Typography.yml b/.github/styles/proselint/Typography.yml index 60283eb..782750b 100644 --- a/.github/styles/proselint/Typography.yml +++ b/.github/styles/proselint/Typography.yml @@ -8,4 +8,4 @@ swap: '\(TM\)': ™ '\(tm\)': ™ '\([rR]\)': ® - '[0-9]+ ?x ?[0-9]+': × + "[0-9]+ ?x ?[0-9]+": × diff --git a/.github/styles/proselint/Uncomparables.yml b/.github/styles/proselint/Uncomparables.yml index 9b96f42..34f432f 100644 --- a/.github/styles/proselint/Uncomparables.yml +++ b/.github/styles/proselint/Uncomparables.yml @@ -5,9 +5,9 @@ level: error action: name: edit params: - - split - - ' ' - - '1' + - split + - " " + - "1" raw: - \b(?:absolutely|most|more|less|least|very|quite|largely|extremely|increasingly|kind of|mildy|hardly|greatly|sort of)\b\s* tokens: @@ -18,7 +18,7 @@ tokens: - certain - devoid - entire - - 'false' + - "false" - fatal - favorite - final @@ -39,7 +39,7 @@ tokens: - singular - stationary - sufficient - - 'true' + - "true" - unanimous - unavoidable - unbroken