blob: 7e1a1cc2fc7742005c55c812ba2f79905e47c2af (
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
}
|