Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit abc829c

Browse files
updated __ per second
1 parent c97cc82 commit abc829c

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
@@ -33,12 +33,12 @@
3333
format: markdown
3434
errorMessage: Space between unit and value required
3535

36-
# Kbps/ Mbps / Gbps spelling
37-
- regex: "(?<!\\S)\\b\\d+\\s?[mgk]bps\\b"
36+
# Kbps / KBps / Mbps / MBps / Gbps / GBps spelling
37+
- regex: "(?<!\\S)\\b\\d+\\s?[kmg][Bb][Pp][Ss]\\b"
3838
shouldMatch: false
3939
type: warning
4040
format: markdown
41-
errorMessage: "'Kilobit per second' should be abbreviated as Kbps, 'Megabit per second' as Mbps and 'Gigabit per second' Gbps"
41+
errorMessage: "Incorrect abbreviation used. Use one of the following: Kbps, KBps, Mbps, MBps, Gbps or GBps (b = bits, B = bytes)"
4242

4343
# kB / KB / Mb / MB / Gb / GB spacing
4444
- regex: "(?<!\\S)\\b\\d+[gBmMkK][bB]\\b"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /