File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 7676 errorMessage: Space between unit and value required
7777
7878# Excludes Wi-Fi in URLs (prepended by dash or slash) and WiFi.XY and MKR WiFi
79- - regex: "(?<![\\/-]|Arduino |UNO |MKR |MKR 1000 |MKR1000)[wW]i[fF]i(?![-\\/]|\\.?\\S| [sS]hield|101| 101)"
80- shouldMatch: false
81- type: warning
82- format: markdown
83- includeCodeBlocks: false
84- errorMessage: "Incorrect spelling of 'Wi-Fi' found."
79+ # - regex: "(?<![\\/-]|Arduino |UNO |MKR |MKR 1000 |MKR1000)[wW]i[fF]i(?![-\\/]|\\.?\\S| [sS]hield|101| 101)"
80+ # shouldMatch: false
81+ # type: warning
82+ # format: markdown
83+ # includeCodeBlocks: false
84+ # errorMessage: "Incorrect spelling of 'Wi-Fi' found."
8585
8686- regex: "(?<!\\/|-)\\b(master|slave)\\b"
8787 regexModifiers: "gi"
Original file line number Diff line number Diff line change 2525 errorMessage: The LoRa® trademark is not used correctly or the first occurrence of LoRa® must include the ® symbol. LoRaWAN should not be used.
2626
2727# USB-C® / USB Type-C® / USB4® rule
28- - regex: "((?<![a-zA-Z]|[0-9])(?<=\\s)(?:USB-C|USB\\sType[-]C|USB4)(?!®|[a-zA-Z]))"
29- regexModifiers: "gi"
30- shouldMatch: false
31- includeCodeBlocks: false
32- format: markdown
33- type: warning
34- errorMessage: The USB-C® / USB Type-C® / USB4® trademark is not used correctly.
28+ # - regex: "((?<![a-zA-Z]|[0-9])(?<=\\s)(?:USB-C|USB\\sType[-]C|USB4)(?!®|[a-zA-Z]))"
29+ # regexModifiers: "gi"
30+ # shouldMatch: false
31+ # includeCodeBlocks: false
32+ # format: markdown
33+ # type: warning
34+ # errorMessage: The USB-C® / USB Type-C® / USB4® trademark is not used correctly.
3535
3636# Arduino Opta® rule
3737- regex: "(?<!http[s]?:\\/\\/\\S*| - )(?<![a-zA-Z]|[0-9])(?<=\\s)(([oO]pta)(?!®|™|[a-zA-Z])|(((?<=[aA]rduino\\s)([oO]pta(?=™)))|((?<=[aA]rduino®\\s)([oO]pta))))"
4444
4545# Edge Impulse® rule
4646# Skip the match if it is inside tags' lists
47- - regex: "(?<!http[s]?:\\/\\/\\S*| - )(?:Edge[ -]Impulse|[eE]dge[iI]mpulse)(?!®)\\b"
48- regexModifiers: "gi"
49- shouldMatch: false
50- includeCodeBlocks: false
51- format: markdown
52- type: warning
53- errorMessage: The Edge Impulse® trademark is not used correctly.
47+ # - regex: "(?<!http[s]?:\\/\\/\\S*| - )(?:Edge[ -]Impulse|[eE]dge[iI]mpulse)(?!®)\\b"
48+ # regexModifiers: "gi"
49+ # shouldMatch: false
50+ # includeCodeBlocks: false
51+ # format: markdown
52+ # type: warning
53+ # errorMessage: The Edge Impulse® trademark is not used correctly.
5454
5555# Adafruit® rule
5656# Skip the match if it is inside tags' lists
You can’t perform that action at this time.
0 commit comments