Fix typos configuration (#6877)

Viktor Szépe created

- 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

Change summary

.github/ISSUE_TEMPLATE/config.yml |  2 +-
typos.toml                        | 17 +++++++++++------
2 files changed, 12 insertions(+), 7 deletions(-)

Detailed changes

.github/ISSUE_TEMPLATE/config.yml 🔗

@@ -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

typos.toml 🔗

@@ -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