Skip to content

Commit d1e60e5

Browse files
committed
usb-c
1 parent e47db46 commit d1e60e5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/validation/rules/rules-trademarks.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
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))))"

0 commit comments

Comments
 (0)