-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add msoft style guide to vale.ini make vale check .md and .mdx files based on write-good, Apify & Microsoft rules remove /styles from .gitignore
- Loading branch information
Showing
56 changed files
with
2,727 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends: existence | ||
message: Use 'AM' or 'PM' (preceded by a space). | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms | ||
level: error | ||
nonword: true | ||
tokens: | ||
- '\d{1,2}[AP]M' | ||
- '\d{1,2} ?[ap]m' | ||
- '\d{1,2} ?[aApP]\.[mM]\.' |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
extends: existence | ||
message: "Don't use language (such as '%s') that defines people by their disability." | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/accessibility-terms | ||
level: suggestion | ||
ignorecase: true | ||
tokens: | ||
- a victim of | ||
- able-bodied | ||
- affected by | ||
- an epileptic | ||
- crippled | ||
- disabled | ||
- dumb | ||
- handicapped | ||
- handicaps | ||
- healthy | ||
- lame | ||
- maimed | ||
- missing a limb | ||
- mute | ||
- normal | ||
- sight-impaired | ||
- stricken with | ||
- suffers from | ||
- vision-impaired |
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
extends: conditional | ||
message: "'%s' has no definition." | ||
link: https://docs.microsoft.com/en-us/style-guide/acronyms | ||
level: suggestion | ||
ignorecase: false | ||
# Ensures that the existence of 'first' implies the existence of 'second'. | ||
first: '\b([A-Z]{3,5})\b' | ||
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' | ||
# ... with the exception of these: | ||
exceptions: | ||
- API | ||
- ASP | ||
- CLI | ||
- CPU | ||
- CSS | ||
- CSV | ||
- DEBUG | ||
- DOM | ||
- DPI | ||
- FAQ | ||
- GCC | ||
- GDB | ||
- GET | ||
- GPU | ||
- GTK | ||
- GUI | ||
- HTML | ||
- HTTP | ||
- HTTPS | ||
- IDE | ||
- JAR | ||
- JSON | ||
- JSX | ||
- LESS | ||
- LLDB | ||
- NET | ||
- NOTE | ||
- NVDA | ||
- OSS | ||
- PATH | ||
- PHP | ||
- POST | ||
- RAM | ||
- REPL | ||
- RSA | ||
- SCM | ||
- SCSS | ||
- SDK | ||
- SQL | ||
- SSH | ||
- SSL | ||
- SVG | ||
- TBD | ||
- TCP | ||
- TODO | ||
- URI | ||
- URL | ||
- USB | ||
- UTF | ||
- XML | ||
- XSS | ||
- YAML | ||
- ZIP |
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 |
---|---|---|
@@ -0,0 +1,270 @@ | ||
extends: existence | ||
message: "Consider removing '%s'." | ||
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences | ||
ignorecase: true | ||
level: warning | ||
action: | ||
name: remove | ||
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 | ||
- 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 |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends: existence | ||
message: "In general, don't hyphenate '%s'." | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto | ||
ignorecase: true | ||
level: error | ||
action: | ||
name: convert | ||
params: | ||
- simple | ||
tokens: | ||
- 'auto-\w+' |
Oops, something went wrong.