mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-09 21:16:52 -05:00
Add docs to repo (#38)
This commit is contained in:
parent
50d3f3ca7f
commit
b95f3dbc91
180 changed files with 13401 additions and 67 deletions
12
docs/styles/Google/OptionalPlurals.yml
Normal file
12
docs/styles/Google/OptionalPlurals.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends: existence
|
||||
message: "Don't use plurals in parentheses such as in '%s'."
|
||||
link: 'https://developers.google.com/style/plurals-parentheses'
|
||||
level: error
|
||||
nonword: true
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- remove
|
||||
- '(s)'
|
||||
tokens:
|
||||
- '\b\w+\(s\)'
|
||||
7
docs/styles/Google/Periods.yml
Normal file
7
docs/styles/Google/Periods.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends: existence
|
||||
message: "Don't use periods with acronyms or initialisms such as '%s'."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
level: error
|
||||
nonword: true
|
||||
tokens:
|
||||
- '\b(?:[A-Z]\.){3,}'
|
||||
11
docs/styles/Google/Slang.yml
Normal file
11
docs/styles/Google/Slang.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends: existence
|
||||
message: "Don't use internet slang abbreviations such as '%s'."
|
||||
link: 'https://developers.google.com/style/abbreviations'
|
||||
ignorecase: true
|
||||
level: error
|
||||
tokens:
|
||||
- 'tl;dr'
|
||||
- ymmv
|
||||
- rtfm
|
||||
- imo
|
||||
- fwiw
|
||||
8
docs/styles/Google/Spelling.yml
Normal file
8
docs/styles/Google/Spelling.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends: existence
|
||||
message: "In general, use American spelling instead of '%s'."
|
||||
link: 'https://developers.google.com/style/spelling'
|
||||
ignorecase: true
|
||||
level: warning
|
||||
tokens:
|
||||
- '(?:\w+)nised?'
|
||||
- '(?:\w+)logue'
|
||||
8
docs/styles/Google/Units.yml
Normal file
8
docs/styles/Google/Units.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends: existence
|
||||
message: "Put a nonbreaking space between the number and the unit in '%s'."
|
||||
link: 'https://developers.google.com/style/units-of-measure'
|
||||
nonword: true
|
||||
level: error
|
||||
tokens:
|
||||
- \d+(?:B|kB|MB|GB|TB)
|
||||
- \d+(?:ns|ms|s|min|h|d)
|
||||
Loading…
Add table
Add a link
Reference in a new issue