mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
fix: cleanup typos with typos:off/on comments (#7301)
* fix: cleanup typos with typos:off/on comments * tombi * bump tombi version
This commit is contained in:
+10
-5
@@ -6,11 +6,16 @@ extend-exclude = [
|
||||
"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 payment card IDs like `IY1VMST1MOXS` which are flagged
|
||||
"apps/labrinth/src/queue/payouts/mod.rs",
|
||||
]
|
||||
|
||||
[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]
|
||||
|
||||
Reference in New Issue
Block a user