codeclimate-dart is a Code Climate engine that wraps dart code metrics. You can run it on your command line using the Code Climate CLI, or on Code Climate's hosted analysis platform.
- If you haven't already, install the Code Climate CLI.
- Run
codeclimate engines:install dart. This command both installs the engine and enables it in your.codeclimate.ymlfile. - You're ready to analyze! Browse into your project's folder and run
codeclimate analyze.
- Create docker image
docker build -t codeclimate/codeclimate-dart:latest . - Test Code Climeta with your project
codeclimate analyze --devYou also can generate local html test reportcodeclimate analyze --dev -f html > codeclimate.html
For help with metrics, check out their documentation.
If you're running into a Code Climate issue, first look over this project's GitHub Issues, as your question may have already been covered.