Skip to content

Commit 54fd016

Browse files
committed
Fix Kb and KB rule
1 parent f494e64 commit 54fd016

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/validation/rules/rules-spelling.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
format: markdown
4242
errorMessage: Space between unit and value required
4343

44-
# kB spelling
45-
- regex: "(?<!\\S)\\b\\d+\\s?K[bB]\\b"
44+
# KB / Kb spelling
45+
- regex: "(?<!\\S)\\b\\d+\\s?k[bB]\\b"
4646
shouldMatch: false
4747
type: warning
4848
format: markdown
49-
errorMessage: Kilobyte should be abbreviated as kB, Kilobit as kb.
49+
errorMessage: Kilobyte should be abbreviated as KB, Kilobit as Kb.
5050

5151
# MB spelling
5252
- regex: "(?<!\\S)\\b\\d+\\s?m[bB]\\b"

0 commit comments

Comments
 (0)