putout
Version:
🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json
23 lines (22 loc) • 1.76 kB
JSON
{
"-h, --help ": "display this help and exit",
"-v, --version ": "output version information and exit",
"-f, --format [formatter] ": "use a specific output format, the default is: 'progress-bar' locally and 'dump' on CI",
"-s, --staged ": "add staged files when in git repository",
"-i, --interactive ": "set lint options using interactive menu",
"--fix ": "apply fixes of errors to code",
"--fix-count [count = 10] ": "count of fixes rounds",
"--rulesdir ": "use additional rules from directory",
"--transform [replacer] ": "apply Replacer, for example 'var __a = __b -> const __a = __b', read about Replacer https://git.io/JqcMn",
"--plugins [plugins] ": "a comma-separated list of plugins to use",
"--enable [rule] ": "enable the rule and save it to '.putout.json' walking up parent directories",
"--disable [rule] ": "disable the rule and save it to '.putout.json' walking up parent directories",
"--enable-all ": "enable all found rules and save them to '.putout.json' walking up parent directories",
"--disable-all ": "disable all found rules (set baseline) and save them to '.putout.json' walking up parent directories",
"--match [pattern] ": "read '.putout.json' and convert 'rules' to 'match' according to 'pattern'",
"--fresh ": "generate a fresh cache",
"--no-config ": "avoid reading '.putout.json'",
"--no-ci ": "disable the CI detection",
"--no-cache ": "disable the cache",
"--no-worker ": "disable worker thread"
}