Skip to content

Commit 548e5e2

Browse files
authored
[CI] Catch OTel typos (#7012)
1 parent f1b7d2e commit 548e5e2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.textlintrc.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,16 @@ rules:
146146
- [nd-?json, NDJSON]
147147
- [node\.?js, Node.js]
148148
- [open-source, open source]
149-
- # OpenTelemetry, exclude occurrences like:
149+
- # OpenTelemetry
150+
# Catch typos like: OpenTelemtry, opentelementry
151+
# Exclude occurrences like:
150152
# - Compound names: go.opentelemetry.io
151153
# - Paths: medium.com/opentelemetry
152154
# - Repo names: opentelemetry-cpp or ocaml-opentelemetry
153155
# - Repo names: open-telemetry/opentelemetry-cpp
154156
# - Slack or social media anchors: #opentelemetry or @opentelemetry
155-
- '(?<![-#@./])\bopen[- ]?telemetry\b(?![-./])'
157+
# cSpell:ignore teleme
158+
- '(?<![-#@./])\bopen[- ]?teleme?n?try\b(?![-./])'
156159
- OpenTelemetry
157160
- [os x, macOS]
158161
- [protable, portable]

0 commit comments

Comments
 (0)