File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# LoRa® / LoRaWAN® rule
11
11
# Avoids false positives by excluding the word in conjunction with a dash (e.g. URLs) and as part of code)
12
- - regex : " ((?<![a-zA-Z]|[0-9])(?<=\\ s)((lora(?:WAN|\\ sAlliance)?))(?!®|[a-zA-Z]))|((?<![a-zA-Z]|[0-9])(?<=\\ s)((((?<=(Lora\\ s|loRa\\ s|lora\\ s))Alliance)|(?<=(Lora|loRa|lora)[wW][aA][nN])))(?=®))"
12
+ # - regex: "((?<![a-zA-Z]|[0-9])(?<=\\s)((lora(?:WAN|\\sAlliance)?))(?!®|[a-zA-Z]))|((?<![a-zA-Z]|[0-9])(?<=\\s)((((?<=(Lora\\s|loRa\\s|lora\\s))Alliance)|(?<=(Lora|loRa|lora)[wW][aA][nN])))(?=®))"
13
+ # shouldMatch: false
14
+ # includeCodeBlocks: false
15
+ # format: markdown
16
+ # type: warning
17
+ # errorMessage: The LoRa® / LoRaWAN® trademark is not used correctly.
18
+
19
+ # LoRa® rule (Post February, 2025 - Use of LoRaWAN® is not allowed)
20
+ - regex : " (?<![a-zA-Z0-9])(?<=\\ s)(lora)(?!®|[a-zA-Z0-9])(?!.*\\ 1®)|(?<![a-zA-Z0-9])(?<=\\ s)(lorawan)(?![a-zA-Z0-9])"
13
21
shouldMatch : false
14
22
includeCodeBlocks : false
15
23
format : markdown
16
24
type : warning
17
- errorMessage : The LoRa® / LoRaWAN® trademark is not used correctly.
25
+ errorMessage : The LoRa® trademark is not used correctly or the first occurrence of LoRa® must include the ® symbol. LoRaWAN should not be used .
18
26
19
27
# USB-C® / USB Type-C® / USB4® rule
20
28
- regex : " ((?<![a-zA-Z]|[0-9])(?<=\\ s)(?:USB-C|USB\\ sType[-]C|USB4)(?!®|[a-zA-Z]))"
You can’t perform that action at this time.
0 commit comments