From 1206d16f403af5a3a972421a7ac5ed9f27cc8384 Mon Sep 17 00:00:00 2001 From: Shinigami92 Date: Thu, 26 Mar 2026 07:24:22 +0100 Subject: [PATCH] chore: add typos.toml configuration --- typos.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 typos.toml diff --git a/typos.toml b/typos.toml new file mode 100644 index 000000000..282120d2f --- /dev/null +++ b/typos.toml @@ -0,0 +1,34 @@ +[files] +extend-exclude = [ + # Conformance fixtures are extracted from Angular's TypeScript specs + "crates/angular_conformance/fixtures/", + # HTML entities are spec-defined names, not English words + "crates/oxc_angular_compiler/src/parser/html/entities.rs", + # E2E comparison fixtures contain CSS/HTML test strings + "napi/angular-compiler/e2e/", +] + +[default.extend-words] +# IIFE = Immediately Invoked Function Expression (standard JS term) +IIFEs = "IIFEs" +IIF = "IIF" +# Jasmine disabled test markers +xdescribe = "xdescribe" +xit = "xit" +# Variable name for PrefixNot +pn = "pn" +# "mis-select" is intentional in comments +mis = "mis" +# German i18n test data +alle = "alle" +Sie = "Sie" +ein = "ein" +Elemente = "Elemente" +# Angular template test data: "d.ot" is a dotted property binding +ot = "ot" +# "mergable" used in original Angular source comment +mergable = "mergable" + +[default.extend-identifiers] +# HTML entity names (spec-defined) +becaus = "becaus"