diff --git a/.github/vale/Docker/Adverbs.yml b/.github/vale/Docker/Adverbs.yml deleted file mode 100644 index 30c5984d80..0000000000 --- a/.github/vale/Docker/Adverbs.yml +++ /dev/null @@ -1,268 +0,0 @@ -extends: existence -message: "Consider removing '%s'." -ignorecase: true -level: suggestion -tokens: - - abnormally - - absentmindedly - - accidentally - - adventurously - - anxiously - - arrogantly - - awkwardly - - bashfully - - beautifully - - bitterly - - bleakly - - blindly - - blissfully - - boastfully - - boldly - - bravely - - briefly - - brightly - - briskly - - broadly - - busily - - calmly - - carefully - - carelessly - - cautiously - - cheerfully - - cleverly - - closely - - coaxingly - - colorfully - - continually - - coolly - - courageously - - crossly - - cruelly - - curiously - - daintily - - dearly - - deceivingly - - deeply - - defiantly - - deliberately - - delightfully - - diligently - - dimly - - doubtfully - - dreamily - - easily - - elegantly - - energetically - - enormously - - enthusiastically - - excitedly - - extremely - - fairly - - faithfully - - famously - - ferociously - - fervently - - fiercely - - fondly - - foolishly - - fortunately - - frankly - - frantically - - freely - - frenetically - - frightfully - - furiously - - generally - - generously - - gently - - gladly - - gleefully - - gracefully - - gratefully - - greatly - - greedily - - happily - - hastily - - healthily - - heavily - - helplessly - - honestly - - hopelessly - - hungrily - - innocently - - inquisitively - - intensely - - intently - - interestingly - - inwardly - - irritably - - jaggedly - - jealously - - jovially - - joyfully - - joyously - - jubilantly - - judgmentally - - justly - - keenly - - kiddingly - - kindheartedly - - knavishly - - knowingly - - knowledgeably - - lazily - - lightly - - limply - - lively - - loftily - - longingly - - loosely - - loudly - - lovingly - - loyally - - madly - - majestically - - meaningfully - - mechanically - - merrily - - miserably - - mockingly - - mortally - - mysteriously - - naturally - - nearly - - neatly - - nervously - - nicely - - noisily - - obediently - - obnoxiously - - oddly - - offensively - - optimistically - - overconfidently - - painfully - - partially - - patiently - - perfectly - - playfully - - politely - - poorly - - positively - - potentially - - powerfully - - promptly - - properly - - punctually - - quaintly - - queasily - - queerly - - questionably - - quickly - - quietly - - quirkily - - quizzically - - randomly - - rapidly - - rarely - - readily - - really - - reassuringly - - recklessly - - regularly - - reluctantly - - repeatedly - - reproachfully - - respectively - - restfully - - righteously - - rightfully - - rigidly - - roughly - - rudely - - safely - - scarcely - - scarily - - searchingly - - sedately - - seemingly - - selfishly - - separately - - seriously - - shakily - - sharply - - sheepishly - - shrilly - - shyly - - silently - - sleepily - - slowly - - smoothly - - softly - - solemnly - - solidly - - speedily - - stealthily - - sternly - - strictly - - suddenly - - supposedly - - surprisingly - - suspiciously - - sweetly - - swiftly - - sympathetically - - tenderly - - tensely - - terribly - - thankfully - - thoroughly - - thoughtfully - - tightly - - tremendously - - triumphantly - - truthfully - - ultimately - - unabashedly - - unaccountably - - unbearably - - unethically - - unexpectedly - - unfortunately - - unimpressively - - unnaturally - - unnecessarily - - urgently - - usefully - - uselessly - - utterly - - vacantly - - vaguely - - vainly - - valiantly - - vastly - - verbally - - very - - viciously - - victoriously - - violently - - vivaciously - - voluntarily - - warmly - - weakly - - wearily - - wetly - - wholly - - wildly - - willfully - - wisely - - woefully - - wonderfully - - worriedly - - yawningly - - yearningly - - yieldingly - - youthfully - - zealously - - zestfully - - zestily diff --git a/.github/vale/Docker/Avoid.yml b/.github/vale/Docker/Avoid.yml index bf4cb5f929..d49063c801 100644 --- a/.github/vale/Docker/Avoid.yml +++ b/.github/vale/Docker/Avoid.yml @@ -3,6 +3,6 @@ message: "Consider removing '%s'." ignorecase: true level: warning tokens: - - Please - - At this time - - Currently + - please + - very + - really diff --git a/.github/vale/Docker/ComplexWords.yml b/.github/vale/Docker/ComplexWords.yml deleted file mode 100644 index 42934e7e46..0000000000 --- a/.github/vale/Docker/ComplexWords.yml +++ /dev/null @@ -1,84 +0,0 @@ -extends: substitution -message: "Consider using '%s' instead of '%s'." -ignorecase: true -level: suggestion -swap: - accentuate: stress - accompany: go with - accomplish: carry out|do - accorded: given - accordingly: so - accrue: add - acquiesce: agree - acquire: get|buy - addressees: you - adjacent to: next to - adjustment: change - admissible: allowed - advantageous: helpful - advise: tell - aggregate: total - aircraft: plane - alleviate: ease - alternatives: choices|options - ameliorate: improve - apparent: clear|plain - ascertain: discover|find out - assistance: help - attain: meet - belated: late - bestow: give - cease: stop|end - commence: begin - compensate: pay - comprise: form|include - concerning: about - confer: give|award - consequently: so - consolidate: merge - convene: meet - demonstrate: show|prove - depart: leave - designate: choose - desire: want|wish - detrimental: bad|harmful - disclose: share|tell - discontinue: stop - disseminate: send|give - eliminate: end - elucidate: explain - employ: use - enclosed: inside|included - encounter: meet - endeavor: try - enumerate: count - equitable: fair - equivalent: equal - exclusively: only - expedite: hurry - females: women - finalize: complete|finish - illustrate: show - itemized: listed - jeopardize: risk - liaise: work with|partner with - methodology: method - necessitate: cause - numerous: many - objective: aim|goal - obligate: bind|compel - optimum: best|most - permit: let - portion: part - possess: own - procure: buy - purchase: buy - relocate: move - solicit: request - state-of-the-art: latest - substantial: large - sufficient: enough - terminate: end - transmit: send - utilization: use - utilize: use diff --git a/.github/vale/Docker/Contractions.yml b/.github/vale/Docker/Contractions.yml deleted file mode 100644 index 927ac819e6..0000000000 --- a/.github/vale/Docker/Contractions.yml +++ /dev/null @@ -1,50 +0,0 @@ -extends: substitution -message: "Consider using '%s' instead of '%s'." -level: suggestion -ignorecase: false -action: - name: replace -swap: - are not: aren't - cannot: can't - could not: couldn't - did not: didn't - do not: don'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 - 'it''s(?=\.)': it is - - should not: shouldn't - - 'that is(?!\.,)': that's - 'that''s(?=\.)': that is - - 'they are(?!\.)': they're - 'they''re(?=\.)': they are - - was not: wasn't - - 'we are(?!\.)': we're - 'we''re(?=\.)': we are - - 'we have(?!\.)': we've - 'we''ve(?=\.)': we have - - were not: weren't - - 'what is(?!\.)': what's - 'what''s(?=\.)': what is - - 'when is(?!\.)': when's - 'when''s(?=\.)': when is - - 'where is(?!\.)': where's - 'where''s(?=\.)': where is - - will not: won't diff --git a/.github/vale/Docker/DateFormat.yml b/.github/vale/Docker/DateFormat.yml deleted file mode 100644 index ff9b641724..0000000000 --- a/.github/vale/Docker/DateFormat.yml +++ /dev/null @@ -1,10 +0,0 @@ -extends: existence -message: Use 'July 31, 2016' format, not '%s'. -link: https://docs.docker.com/contribute/style/grammar/#dates -ignorecase: true -level: error -nonword: true -tokens: - - '\d{1,2} - (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) - \d{4}' diff --git a/.github/vale/Docker/DateMonthName.yml b/.github/vale/Docker/DateMonthName.yml deleted file mode 100644 index 26ba757d4e..0000000000 --- a/.github/vale/Docker/DateMonthName.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: existence -message: "When possible, spell out the name of the month." -link: https://docs.docker.com/contribute/style/grammar/#dates -ignorecase: true -level: warning -nonword: true -tokens: - - '\b\d{1,2}/\d{1,2}/(?:\d{4}|\d{2})\b' diff --git a/.github/vale/Docker/DateNumber.yml b/.github/vale/Docker/DateNumber.yml deleted file mode 100644 index fbd2abbc4a..0000000000 --- a/.github/vale/Docker/DateNumber.yml +++ /dev/null @@ -1,40 +0,0 @@ -extends: existence -message: "Don't use ordinal numbers for dates." -link: https://docs.docker.com/contribute/style/grammar/#dates -level: error -nonword: true -ignorecase: true -raw: - - \b(?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?)\b\s* -tokens: - - first - - second - - third - - fourth - - fifth - - sixth - - seventh - - eighth - - ninth - - tenth - - eleventh - - twelfth - - thirteenth - - fourteenth - - fifteenth - - sixteenth - - seventeenth - - eighteenth - - nineteenth - - twentieth - - twenty-first - - twenty-second - - twenty-third - - twenty-fourth - - twenty-fifth - - twenty-sixth - - twenty-seventh - - twenty-eighth - - twenty-ninth - - thirtieth - - thirty-first diff --git a/.github/vale/Docker/Decimals.yml b/.github/vale/Docker/Decimals.yml deleted file mode 100644 index d01d3ca9cf..0000000000 --- a/.github/vale/Docker/Decimals.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: existence -message: Use decimals instead of fractions. -link: https://docs.docker.com/contribute/style/grammar/#decimals-and-fractions -level: warning -raw: - - '[\w\s]' - - \d+\/\d+ - - '(?!\/\d+)' diff --git a/.github/vale/Docker/ListLength.yml b/.github/vale/Docker/ListLength.yml deleted file mode 100644 index 2e187ea1ba..0000000000 --- a/.github/vale/Docker/ListLength.yml +++ /dev/null @@ -1,7 +0,0 @@ -extends: occurrence -message: List items should contain relatively few words or short phrases. -link: https://docs.docker.com/contribute/style/grammar/#lists -level: suggestion -scope: list -max: 20 -token: \b(\w+)\b diff --git a/.github/vale/Docker/Passive.yml b/.github/vale/Docker/Passive.yml deleted file mode 100644 index b25cff6241..0000000000 --- a/.github/vale/Docker/Passive.yml +++ /dev/null @@ -1,9 +0,0 @@ -extends: existence -message: "'%s' looks like passive voice." -link: https://docs.docker.com/contribute/checklist/ -ignorecase: true -level: suggestion -raw: - - \b(am|are|were|being|is|been|was|be)\b\s* -tokens: - - '[\w]+ed' diff --git a/.github/vale/Docker/RecommendedWords.yml b/.github/vale/Docker/RecommendedWords.yml index 35159807cf..be22d589ac 100644 --- a/.github/vale/Docker/RecommendedWords.yml +++ b/.github/vale/Docker/RecommendedWords.yml @@ -33,10 +33,12 @@ swap: click: select deselect: clear ergo: therefore + file name: filename keypress: keystroke mutices: mutexes repo: repository scan: analyze scroll: navigate + url: URL vs: versus wish: want diff --git a/.github/vale/Docker/SentenceLength.yml b/.github/vale/Docker/SentenceLength.yml index 57248eeb4a..41bcdd1260 100644 --- a/.github/vale/Docker/SentenceLength.yml +++ b/.github/vale/Docker/SentenceLength.yml @@ -1,7 +1,7 @@ extends: occurrence -message: "Write short, concise sentences. (<=30 words)" +message: "Write short, concise sentences. (<=40 words)" scope: sentence link: https://docs.docker.com/contribute/checklist/ level: warning -max: 31 +max: 40 token: \b(\w+)\b diff --git a/.github/vale/Docker/Units.yml b/.github/vale/Docker/Units.yml index 5ad058f09c..cc9134fe54 100644 --- a/.github/vale/Docker/Units.yml +++ b/.github/vale/Docker/Units.yml @@ -5,6 +5,6 @@ level: error swap: (?:kilobytes?|KB): kB gigabytes?: GB - megabyte?: MB + megabytes?: MB petabytes?: PB terrabytes?: TB diff --git a/.github/vale/Docker/We.yml b/.github/vale/Docker/We.yml index 65d3a7dd6e..331d477bea 100644 --- a/.github/vale/Docker/We.yml +++ b/.github/vale/Docker/We.yml @@ -1,6 +1,5 @@ extends: existence message: "Avoid using first-person plural like '%s'." -link: https://docs.microsoft.com/en-us/style-guide/grammar/person#avoid-first-person-plural level: warning ignorecase: true tokens: