Skip to content

Commit

Permalink
Update Numbers.yml (#28)
Browse files Browse the repository at this point in the history
We don't want to flag numbers, especially when they are in reference to time, days, minutes, hours, etc., so I removed the line that said `'\s\d\s(?!hours|seconds|days|weeks|months|years|minutes)'`. (Our new guidance actually says to use numbers in most ever place, but the guidance for using numbers with time has always stood.)
  • Loading branch information
wordsmeanstuff authored May 31, 2023
1 parent 0e50b0e commit eb1c0c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions styles/Splunk/Numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ nonword: true
ignorecase: true
level: warning
scope: sentence
tokens:
- '\s\d\s(?!hours|seconds|days|weeks|months|years|minutes)'
tokens:)'
- '3rd-party'
- '3rd party'
- '^\d\s'
- '^\d\s'

0 comments on commit eb1c0c1

Please sign in to comment.