danger-plugin-ktlint-reportdeprecated

This plugin reads ktlint reports and posts inline comments in pull requests.

Usage no npm install needed!

<script type="module">
  import dangerPluginKtlintReport from 'https://cdn.skypack.dev/danger-plugin-ktlint-report';
</script>

README

danger-plugin-ktlint-report

Build Status npm version semantic-release

This plugin reads ktlint reports and posts inline comments in pull requests.

The plugin is still under active development and testing.

Requirements

The plugin does not execute ktlint.

Instead, the plugin will search the file tree for ktlint reports and parse them.

At the moment the plugin is searching using the following file mask: **/reports/ktlint/*.xml.

It is limited to XML checkstyle reports.

Usage

Install:

yarn add danger-plugin-ktlint-report --dev

At a glance:

// dangerfile.js
import { schedule } from 'danger'

const ktlintReport  = require("danger-plugin-ktlint-report")
schedule(ktlintReport.scan())

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.