mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
0fa91283fd
Migration from tasks/prettier_conformance to each crate test using oxc_formatter_tests, for JS/TS and JSDoc.
73 lines
2.3 KiB
TOML
73 lines
2.3 KiB
TOML
# 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"
|
|
PUNCT1_NKNOWN = "PUNCT1_NKNOWN"
|
|
# Vendored react_compiler local-variable abbreviations (PrivateName, Optional{Call,Member}Expression, plural of `from`)
|
|
pn = "pn"
|
|
oce = "oce"
|
|
ome = "ome"
|
|
froms = "froms"
|