Skip to content

Commit dcb536a

Browse files
authored
chore: add typos.toml configuration (#170)
1 parent 892401b commit dcb536a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

typos.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[files]
2+
extend-exclude = [
3+
# Conformance fixtures are extracted from Angular's TypeScript specs
4+
"crates/angular_conformance/fixtures/",
5+
# HTML entities are spec-defined names, not English words
6+
"crates/oxc_angular_compiler/src/parser/html/entities.rs",
7+
# E2E comparison fixtures contain CSS/HTML test strings
8+
"napi/angular-compiler/e2e/",
9+
]
10+
11+
[default.extend-words]
12+
# IIFE = Immediately Invoked Function Expression (standard JS term)
13+
IIFEs = "IIFEs"
14+
IIF = "IIF"
15+
# Jasmine disabled test markers
16+
xdescribe = "xdescribe"
17+
xit = "xit"
18+
# Variable name for PrefixNot
19+
pn = "pn"
20+
# "mis-select" is intentional in comments
21+
mis = "mis"
22+
# German i18n test data
23+
alle = "alle"
24+
Sie = "Sie"
25+
ein = "ein"
26+
Elemente = "Elemente"
27+
# Angular template test data: "d.ot" is a dotted property binding
28+
ot = "ot"
29+
# "mergable" used in original Angular source comment
30+
mergable = "mergable"
31+
32+
[default.extend-identifiers]
33+
# HTML entity names (spec-defined)
34+
becaus = "becaus"

0 commit comments

Comments
 (0)