blob: 0b47e397f9b709a8b9ef761fa4d5b210efd8aff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://ast-grep.github.io/",
description = "A CLI tool for code structural search, lint and rewriting. Written in Rust.",
},
command = "ast-grep",
args = { "scan", "--update-all", "$FILENAME" },
stdin = false,
exit_codes = { 0, 5 }, -- 5 = no config file exists
}
|