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 99
1010# LoRa® / LoRaWAN® rule
1111# 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])"
1321 shouldMatch : false
1422 includeCodeBlocks : false
1523 format : markdown
1624 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 .
1826
1927# USB-C® / USB Type-C® / USB4® rule
2028- 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