Fix typos configuration (#6877)

- check hidden files
- fix a typos in a hidden file
- ignore "ba" typos in a more specific way
- ignore a typo in collab/migrations/ literally

Release Notes:

- N/A
This commit is contained in:
Viktor Szépe 2024-01-27 17:03:25 +01:00 committed by GitHub
parent 1564bd82f2
commit 9d6414b0cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 7 deletions

View file

@ -5,6 +5,6 @@ contact_links:
- name: Platform Support
url: https://github.com/zed-industries/zed/issues/5391
about: A quick note on platform support
- name: Postive Feedback
- name: Positive Feedback
url: https://github.com/zed-industries/zed/discussions/5397
about: A central location for kind words about Zed

View file

@ -1,21 +1,26 @@
[files]
ignore-files = true
ignore-hidden = false
extend-exclude = [
".git/",
# glsl isn't recognized by this tool
"crates/zed/src/languages/glsl/*",
"crates/zed/src/languages/glsl/",
# File suffixes aren't typos
"assets/icons/file_icons/file_types.json",
# Not our typos
"crates/live_kit_server/*",
"crates/live_kit_server/",
# Vim makes heavy use of partial typing tables
"crates/vim/*",
"crates/vim/",
# Editor and file finder rely on partial typing and custom in-string syntax
"crates/file_finder/src/file_finder_tests.rs",
"crates/editor/src/editor_tests.rs",
# :/
"crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql",
]
[default]
extend-ignore-re = ["ba"]
extend-ignore-re = [
'"ba"',
":ba\\|z",
# :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
"ADD COLUMN enviroment TEXT",
]
check-filename = true