summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/codespell.lua
blob: ca074155f407b6d8b2ed8ff40777bfc6139f83a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/codespell-project/codespell",
    description = "Check code for common misspellings.",
  },
  command = "codespell",
  stdin = false,
  args = {
    "$FILENAME",
    "--write-changes",
    "--check-hidden", -- conform's temp file is hidden
  },
}