Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

leancode_lint review

Free#9 of 20 in Dart Flutter Static Analysis Tools

A configurable, open-source analyzer package for Dart, Flutter, Bloc, and Cubit conventions.

7.2/10Editor score
leancode_lint7.2 Visit pub.dev

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

leancode_lint is an open-source package of analyzer lint rules for Dart and Flutter projects. It is aimed at teams that want project-level coding conventions covering Dart language patterns, class structure, Flutter widget usage, BuildContext practices, and Bloc or Cubit naming and usage. The package fits solo developers through enterprise teams, with particular relevance for Flutter codebases organized around Bloc or Cubit conventions. It is published by LeanCode on pub.dev under the Apache-2.0 license.

Adoption centers on configuration rather than a separate hosted service. Developers add leancode_lint as a development dependency, include its analysis options, and enable its analyzer plugin. The package ships a default analyzer plugin configuration while also supporting custom plugin configuration. Individual lint rules can be enabled or disabled in analysis_options.yaml, allowing teams to adjust the rule set to their conventions. IDE code assists are provided, and the documentation gives VS Code as an example of IDE support.

Its breadth is concentrated on Dart and Flutter development rather than broader application security or multi-language analysis. The included rules address Flutter widget patterns, Dart classes and language constructs, and Bloc or Cubit usage, making the package a focused choice for teams standardizing those practices. Teams seeking security analysis, AI-assisted capabilities, or conventions outside this ecosystem should select a different analyzer or complement it with other tooling. Teams wanting an open-source, configurable lint package for Dart and Flutter should consider leancode_lint.

leancode_lint pros and cons

  • Where it wins
    • Covers Dart, Flutter widget, Bloc, and Cubit rules
    • Supports default or custom analyzer plugin configuration
    • Offers individually toggleable rules and IDE code assists
  • Where it doesn't
    • Requires self-hosted setup as a development dependency
    • Specialized Bloc and Cubit focus may not fit other architectures
    • Provides no security analysis or AI features

leancode_lint fact sheet, pricing and score →

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update