-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy path.typos.toml
More file actions
78 lines (72 loc) · 2.41 KB
/
Copy path.typos.toml
File metadata and controls
78 lines (72 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# https://github.com/crate-ci/typos
# cargo install typos-cli
# typos
[files]
extend-exclude = [
"**/*.snap",
"**/*/CHANGELOG.md",
"apps/oxlint/conformance/snapshot.md",
"apps/oxlint/src-js/package/config.generated.ts",
"apps/oxfmt/test/**/fixtures/**",
"apps/oxfmt/conformance/snapshots/diffs/**/",
"crates/oxc_formatter_tests/prettier",
"crates/oxc_formatter/tests/jsdoc",
"crates/oxc_linter/fixtures",
"crates/oxc_react_compiler/fixtures",
"crates/oxc_linter/src/rules/eslint/no_undefined.rs",
"crates/oxc_linter/src/rules/eslint/no_unused_vars/ignored.rs",
"crates/oxc_linter/src/rules/eslint/no_unused_vars/options.rs",
"crates/oxc_linter/src/rules/eslint/no_unused_vars/tests/eslint.rs",
"crates/oxc_linter/src/rules/jsx_a11y/aria_props.rs",
"crates/oxc_linter/src/rules/jsx_a11y/img_redundant_alt.rs",
"crates/oxc_linter/src/rules/react/no_unknown_property.rs",
"crates/oxc_parser/src/lexer/byte_handlers.rs",
"crates/oxc_syntax/src/xml_entities.rs",
"patches/**",
"pnpm-lock.yaml",
"tasks/coverage/babel",
"tasks/coverage/node-compat-table",
"tasks/coverage/test262",
"tasks/coverage/typescript",
"tasks/coverage/snapshots",
"tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/text/escapes/input.jsx",
"tasks/transform_conformance/tests/**/output.js",
"tasks/transform_conformance/overrides",
"tasks/transform_conformance/snapshots",
"napi/minify/test/terser.test.ts",
"npm/oxlint/configuration_schema.json",
]
[default]
extend-ignore-re = [
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$",
"(?Rm)^\\s*(#|//)\\s*spellchecker:disable-next-line\\s*\\n.*",
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
]
[default.extend-words]
strager = "strager"
trivias = "trivias"
trivia = "trivia"
xdescribe = "xdescribe"
seeked = "seeked"
labeledby = "labeledby"
hashi = "hashi"
inferrable = "inferrable"
consts = "consts"
writeable = "writeable"
[default.extend-identifiers]
IIFEs = "IIFEs"
allowIIFEs = "allowIIFEs"
TAGS_PEV_FORMATE_DESCRIPTION = "TAGS_PEV_FORMATE_DESCRIPTION"
# oxc_lexer
tpos = "tpos"
vor = "vor"
# Vendored react_compiler local-variable abbreviations (PrivateName, Optional{Call,Member}Expression, plural of `from`)
pn = "pn"
oce = "oce"
ome = "ome"
froms = "froms"
[type.ascii-only-tests]
extend-glob = ["ascii_only.rs"]
[type.ascii-only-tests.extend-words]
# Prefix of café in escaped Unicode test fixtures.
caf = "caf"