Skip to content

Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats

License

Notifications You must be signed in to change notification settings

WhisperArts/analyzer-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analyzer_formatter

GitHubActions pub.dev

About

Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats.

Installation

Install tool from pub.dev:

flutter pub global activate analyzer_formatter

How to use

  1. Check your project with Dart Analyzer and write its output to a file:
flutter analyze > analyzer_report.txt

analyzer_report.txt is the name of Dart Analyzer report by default. You can change it and pass your own by --analyzerReportFile argument.

  1. Run tool for project folder:
flutter pub global run analyzer_formatter

Arguments

Name Description
--analyzerReportFile Relative path to Analyzer report file
--outputSuffix Suffix of a converted report file
--help Print tool description
--testStyle Convert a result to JUnit report

How to contribute

Make sure your build is green before you contribute your pull request. Then:

$ dart analyze

If you don't see any error messages, submit your pull request.

Contributors

About

Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages