Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onFormat = (formatterConfig: TextLintFormatterOption) => {
return createFormatter(formatterConfig);
};
}
},
{
heading: "Output"
},
{
option: "output-file",
alias: "o",
type: "path::String",
description: "Enable report to be written to a file."
},
{
option: "format",
alias: "f",
type: "String",
description: `Use a specific output format.
Available formatter : ${concatFormatterList(getFormatterList())}
Available formatter for --fix: ${concatFormatterList(getFixerFormatterList())}`,
example: "--format pretty-error"
},
{
option: "color",
type: "Boolean",
default: "true",
description: "Disable color in piped output.",
example: "textlint --no-color"
},
{
option: "quiet",
type: "Boolean",
default: "false",
description: "Report errors only."
},