typos.toml

 1[files]
 2ignore-files = true
 3ignore-hidden = false
 4extend-exclude = [
 5    ".git/",
 6    # File suffixes aren't typos
 7    "assets/icons/file_icons/file_types.json",
 8    "crates/extensions_ui/src/extension_suggest.rs",
 9    # Not our typos
10    "crates/live_kit_server/",
11    # Vim makes heavy use of partial typing tables
12    "crates/vim/",
13    # Editor and file finder rely on partial typing and custom in-string syntax
14    "crates/file_finder/src/file_finder_tests.rs",
15    "crates/editor/src/editor_tests.rs",
16    # Clojure uses .edn filename extension, which is not a misspelling of "end"
17    "extensions/clojure/languages/clojure/config.toml",
18    # There are some names in the test data that are incorrectly flagged as typos.
19    "crates/git/test_data/blame_incremental_complex",
20    "crates/git/test_data/golden/blame_incremental_complex.json",
21    # We have some base64-encoded data that is incorrectly being flagged.
22    "crates/rpc/src/auth.rs",
23    # glsl isn't recognized by this tool
24    "extensions/glsl/languages/glsl/",
25    # Windows likes its abbreviations
26    "crates/gpui/src/platform/windows/",
27    # Some typos in the base mdBook CSS.
28    "docs/theme/css/"
29]
30
31[default]
32extend-ignore-re = [
33    'cl\[ist]',
34    '"ba"',
35    ":ba\\|z",
36    # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
37    "COLUMN enviroment",
38    # Typo in ClickHouse column name.
39    # crates/collab/src/api/events.rs
40    "rename = \"sesssion_id\"",
41    "doas",
42]
43check-filename = true