danger_plugin_dart_analyze 1.0.1 copy "danger_plugin_dart_analyze: ^1.0.1" to clipboard
danger_plugin_dart_analyze: ^1.0.1 copied to clipboard

A Danger Dart plugin to process analyze result.

Danger Plugin: Dart Analyze #

Pub version

This plugin will parse the analyze results, and notify.

Usage #

First, you need to prepare test result in json format. You may either:

dart analyze > your_analyze_results.log
flutter analyze > your_analyze_results.log

Adding this plugin to pubspec.yaml

dev_dependencies:
  danger_core:
  danger_plugin_dart_analyze:

In dangerfile.dart, you need to import this, and call DangerPluginDartAnalyze.processFile with analyze result file.

import 'dart:io';

import 'package:danger_core/danger_core.dart';
import 'package:danger_plugin_dart_analyze/danger_plugin_dart_analyze.dart';

void main() {
  final analyzeResultFile = File('your_analyze_results.log');
  DangerPluginDartAnalyze.processFile(analyzeResultFile);
}
2
likes
110
points
77
downloads

Publisher

verified publisherblendthink.dev

Weekly Downloads

A Danger Dart plugin to process analyze result.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

danger_core, freezed_annotation, path

More

Packages that depend on danger_plugin_dart_analyze