Skip to content

Commit

Permalink
Add Data and Metadata rules (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
theletterf authored Oct 18, 2022
1 parent 8992b4a commit 6970e2a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ git submodule update --remote --merge

# License

This software is licensed under the Apache License 2.0. Details can be found in the file LICENSE.
This software is licensed under the Apache License 2.0. Details can be found in the file LICENSE.
11 changes: 11 additions & 0 deletions styles/Splunk/DataSingular.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: sequence
message: "Use data and metadata as mass nouns (singular)."
link: 'https://docs.splunk.com/Documentation/StyleGuide/current/StyleGuide/Usagedictionary#D'
level: suggestion
ignorecase: true
tokens:
- pattern: '(?:data|metadata)'
# To be added after https://github.com/errata-ai/vale/issues/498 is solved.
#- tag: CC|CD|DT|EX|FW|IN|JJ|JJR|JJS|LS|PDT|POS|PRP|RBvRP|TO|UH|WDT|WP|WRB
# skip: 5
- tag: VBP
3 changes: 2 additions & 1 deletion styles/Splunk/DontUse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ tokens:
- remember
- right
- thus
- very
- very
- datum
1 change: 1 addition & 0 deletions styles/Splunk/Headings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ exceptions:
- SPA
- SPAs
- Database
- Query
- Performance
- DB
- Monitor

0 comments on commit 6970e2a

Please sign in to comment.