aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/standardrb.lua
blob: 1a69cd6e9ce215ff52e4134949e706d19b38e1f4 (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 },
}