How to use @textlint/fixer-formatter - 2 common examples

To help you get started, we’ve selected a few @textlint/fixer-formatter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github textlint / textlint / packages / textlint / src / textfix-engine.ts View on Github external
onFormat = (formatterConfig: TextLintFormatterOption) => {
        return createFormatter(formatterConfig);
github textlint / textlint / packages / textlint / src / options.ts View on Github external
            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."


textlint output formatter for fixer

Latest version published 1 month ago

Package Health Score

86 / 100
Full package analysis