TSLint core formatters

Lint formatters allow for transformation of lint results into various forms before outputting to stdout or a file.

Built-in formatters

  • checkstyle - Formats errors as through they were Checkstyle output.

  • codeFrame - Framed formatter which creates a frame of error code.

  • filesList - Lists files containing lint errors.

  • json - Formats errors as simple JSON.

  • msbuild - Formats errors for consumption by msbuild.

  • pmd - Formats errors as through they were PMD output.

  • prose - The default formatter which outputs simple human-readable messages.

  • stylish - Human-readable formatter which creates stylish messages.

  • tap - Formats output as TAP stream.

  • verbose - The human-readable formatter which includes the rule name in messages.

  • vso - Formats output as VSO/TFS logging commands.