The Best Dart Static Analysis Tools (Linters/Formatters)

We rank 9 Dart linters, code analyzers, formatters, and more. Find and compare tools like Mega-Linter, CodeScene, SAST Online, and more. Please rate and review tools that you've used. This helps others find the best tools for their projects.

4 Dart Tools

Dart Code Metrics

Additional linter for Dart. Reports code metrics, checks for anti-patterns and provides additional rules for Dart analyzer.

  • MaintainedMaintained
  • MaintainedDart
  • Maintainedcli
  • Maintainedlinter
  • 71% upvoted

Linter for dart

Style linter for Dart.

  • MaintainedMaintained
  • MaintainedDart
  • Maintainedcli
  • Maintainedlinter
  • 67% upvoted

effective_dart

Linter rules corresponding to the guidelines in Effective Dart

  • MaintainedMaintained
  • MaintainedDart
  • Maintainedcli
  • Maintainedlinter
  • 0% upvoted

lint

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

  • MaintainedMaintained
  • MaintainedDart
  • Maintainedcli
  • Maintainedlinter
  • 25% upvoted

5 Multi-Language Tools

Mega-Linter

Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedlinter
  • 68% upvoted

CodeScene

Sponsor

CodeScene is a quality visualization tool for software. Prioritize technical debt, detect delivery risks, and measure organizational aspects. Fully automated.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedservice
  • Maintainedlinter
  • 66% upvoted

SAST Online

Check the Android Source code thoroughly to uncover and address potential security concerns and vulnerabilities. Static application security testing (Static Code Analysis) tool Online

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedservice
  • Maintainedlinter
  • 93% upvoted

callGraph

Statically generates a call graph image and displays it on screen.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedcli
  • Maintainedlinter
  • 84% upvoted

CodeFactor

Automated Code Analysis for repos on GitHub or BitBucket.

  • MaintainedMaintained
  • MaintainedMulti-Language
  • Maintainedservice
  • Maintainedlinter
  • 50% upvoted

Frequently Asked Questions

What are Dart tools?

Dart is a client-optimized programming language for apps on multiple platforms. It is developed by Google and is used to build mobile, desktop, server, and web applications. Dart is an object-oriented, class-based, garbage-collected language with C-style syntax. Dart can compile to either native code or JavaScript. It supports interfaces, mixins, abstract classes, reified generics, and type inference.

What are the best Dart static analysis tools and linters?

The most popular Dart tools ranked by user votes are: Mega-Linter, CodeScene, SAST Online, callGraph, Dart Code Metrics.

Which Dart tools are free to use?

Tools with a free plan include SAST Online. On top of that, there are also a number of open source like Mega-Linter, SAST Online, callGraph, Dart Code Metrics, Linter for dart, effective_dart, lint.

Our Sponsors

This website is completely open source. To fund our work, we fully rely on sponsors. Thanks to them, we can keep the site free for everybody. Please check out their offers below.

  • Bearer
  • BugProve
  • CodeScene
  • semgrep
  • Offensive 360