Skip to content

Commit

Permalink
feat: add typos (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Nov 24, 2023
1 parent a5df965 commit d86c186
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/conform/formatters/typos.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/crate-ci/typos",
description = "Source code spell checker",
},
command = "typos",
stdin = true,
args = { "--write-changes", "-" },
exit_codes = { 0, 2 },
}

0 comments on commit d86c186

Please sign in to comment.