Skip to content

Commit f494e64

Browse files
committed
Catch mhz ghz misspelling
1 parent dbec987 commit f494e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validation/rules/rules-spelling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
errorMessage: Space between unit and value required
1515

1616
# MHz / GHz spelling
17-
- regex: "(?<!\\S)\\b\\d+\\s?[MG]hz\\b"
17+
- regex: "(?<!\\S)\\b\\d+\\s?[MGmg]hz\\b"
1818
shouldMatch: false
1919
type: warning
2020
format: markdown

0 commit comments

Comments
 (0)