aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/standardrb.lua
blob: ae860ea2acd7bcd935870eb7d199c4bd3498e529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/standardrb/standard",
    description = "Ruby's bikeshed-proof linter and formatter.",
  },
  command = "standardrb",
  args = {
    "--fix",
    "-f",
    "quiet",
    "--stderr",
    "--stdin",
    "$FILENAME",
  },
  exit_codes = { 0, 1 },
}