mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 19:46:33 +00:00
# Conflicts: # _typos.toml # apps/frontend/src/locales/en-US/index.json # apps/frontend/src/pages/[type]/[project]/settings/index.vue # apps/frontend/src/pages/[type]/[project]/settings/license.vue # apps/frontend/src/pages/[type]/[project]/settings/links.vue
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[files]
|
|
extend-exclude = [
|
|
"**/src/locales/",
|
|
"apps/frontend/",
|
|
"patches/",
|
|
"packages/utils/",
|
|
"packages/ui/",
|
|
"packages/blog/",
|
|
# contains licenses like `CC-BY-ND-4.0`
|
|
"packages/moderation/src/data/stages/license.ts",
|
|
"packages/moderation/src/utils.ts",
|
|
# contains profanity word lists with deliberate misspellings
|
|
"packages/moderation/src/validators/profanity/",
|
|
# contains payment card IDs like `IY1VMST1MOXS` which are flagged
|
|
"apps/labrinth/src/queue/payouts/mod.rs",
|
|
# contains domain names with deliberate typos
|
|
"apps/labrinth/assets/disposable_email_blocklist.txt"
|
|
]
|
|
|
|
[default]
|
|
extend-ignore-re = [
|
|
# Ignore lines that end with `// typos:ignore`
|
|
"(?Rm)^.*(#|//)\\s*typos:ignore$",
|
|
# Ignore the line after `// typos:ignore`:
|
|
"(#|//)\\s*typos:ignore\\n.*",
|
|
# Ignore blocks between `// typos:off` and `// typos:on`
|
|
"(?s)(#|//)\\s*typos:off.*?\\n\\s*(#|//)\\s*typos:on",
|
|
]
|
|
|
|
[default.extend-words]
|
|
# Terms Of Use in `tou-link`
|
|
tou = "tou"
|
|
# Google Ad Manager
|
|
gam = "gam"
|
|
# short for "constants"
|
|
consts = "consts"
|
|
# short for "Copy"
|
|
Cpy = "Cpy"
|
|
|
|
[default.extend-identifiers]
|
|
# Constant from the `zip` crate
|
|
ZIP64_BYTES_THR = "ZIP64_BYTES_THR"
|