Skip to content

Commit

Permalink
Move spellcheck config into .github folder (nushell#10267)
Browse files Browse the repository at this point in the history
Keep the `.typos.toml` out of the repo root for better readability

Also specify a version for the workflow to protect against breakage
  • Loading branch information
sholderbach committed Sep 7, 2023
1 parent 5e951b2 commit ae54dc8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
File renamed without changes.
4 changes: 3 additions & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ jobs:
uses: actions/checkout@v3

- name: Check spelling
uses: crate-ci/typos@master
uses: crate-ci/typos@v1.0.4
with:
config: ./.github/.typos.toml
2 changes: 1 addition & 1 deletion toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def report [
#
# error: could not compile `nu-command` due to previous error
# ```
# - we remove the useless `.to_string()`, and in that cases, the whole format is useless, only `"x "` is usefull!
# - we remove the useless `.to_string()`, and in that cases, the whole format is useless, only `"x "` is useful!
# but now the tests do not pass :sob:
# ```nushell
# running `toolkit fmt`
Expand Down

0 comments on commit ae54dc8

Please sign in to comment.