Add Microsoft
and Vocab
This commit is contained in:
13
styles/Microsoft/HeadingPunctuation.yml
Normal file
13
styles/Microsoft/HeadingPunctuation.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
extends: existence
|
||||
message: "Don't use end punctuation in headings."
|
||||
link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
|
||||
nonword: true
|
||||
level: warning
|
||||
scope: heading
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- remove
|
||||
- '.?!'
|
||||
tokens:
|
||||
- '[a-z0-9][.?!](?:\s|$)'
|
Reference in New Issue
Block a user