leancode_lint
Dart analyzer lint rules for Dart and Flutter projects
At a glance
- Editor scoreNot yet scored
- PricingFree plan
- Best forFlutter teams using Bloc or Cubit conventions
- Free planYes
- Paid fromNone
- Dart analysisYes
- Facts checked26 Sep 2026
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
Our verdict on leancode_lint
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 pricing
leancode_lint fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Dart analysis | Yes |
| Flutter analysis | Yes |
| Deployment | Self-hosted |
| IDE support | Vscode |
| Security analysis | No |
| CI integration | Not verified |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | pub.dev |
| Facts checked | 26 Sep 2026 |
Alternatives to leancode_lint
- Dart Analysis ServerA free, local analysis engine for Dart diagnostics and editor language services.—
- CodacyA hosted analysis suite with Dart support, pull-request checks, and a free plan.7.0
- Snyk CodeSecurity-focused source scanning with IDE, pull-request, CLI, and CI/CD coverage.5.0
See all leancode_lint alternatives →
Used leancode_lint? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used leancode_lint for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
leancode_lint is listed in our Dart Flutter Static Analysis Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/leancode-lint/"><img src="https://www.itechguides.com/best/badge/leancode-lint.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. It never changes a score or a verdict. How we rank.

