import_rules
Dart static-analysis rules for enforcing import conventions.
At a glance
- Editor scoreNot yet scored
- PricingFree plan
- Best forTeams enforcing Dart import conventions
- Free planYes
- Paid fromNone
- Dart analysisYes
- Facts checked26 Sep 2026
Where it wins
- Checks Dart import usage with static analysis.
- Lets teams configure import-convention rules.
- Provides analyzer feedback and can run in project analysis workflows.
Where it doesn't
- Its scope is focused on import usage and conventions.
- It does not provide security analysis.
- Flutter support is not specified.
Our verdict on import_rules
import_rules is an open-source Dart package for analyzing import usage and enforcing conventions in Dart projects. It is aimed at developers and teams that want consistent import practices, with feedback from the analyzer while coding and during automated project checks. Its focused scope suits teams that want rules for imports rather than a broader static-analysis tool covering unrelated code concerns. The package is distributed through Dart’s package ecosystem and configured within a Dart project, making it a fit for solo developers as well as small and mid-market teams working in that ecosystem.
The package centers on configurable convention rules and analysis of Dart imports. Developers can receive analyzer feedback during development, and the checks can also be included in project analysis workflows. That gives teams a way to apply the same import expectations while writing code and when running project checks. Its open-source model and free availability make it an option for teams seeking import checks without a paid plan. Setup is project-level through the Dart package ecosystem; the published description points developers to package and repository documentation for rule details and setup instructions.
The main trade-off is breadth: import_rules concentrates on imports rather than security analysis or a wide range of static-analysis concerns. Teams looking specifically to standardize import conventions may value that narrow focus, while teams seeking security checks should choose a tool that covers that need. Its fit is clearest for Dart projects; teams selecting a tool specifically for Flutter should verify that it meets their framework requirements before adopting it. Consider import_rules when configurable import rules and analyzer feedback are the priority, not as a substitute for broader analysis coverage.
import_rules pricing
import_rules fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Dart analysis | Yes |
| Flutter analysis | Not verified |
| Deployment | Self-hosted |
| IDE support | Not verified |
| Security analysis | No |
| CI integration | Not verified |
| Deployment | Self-hosted |
| Support | Docs, Community |
| Built for | Solo, Small business, Mid-market (editorial estimate) |
| Pricing | Free plan |
| Website | pub.dev |
| Facts checked | 26 Sep 2026 |
Alternatives to import_rules
- 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 import_rules alternatives →
Used import_rules? 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 import_rules 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
import_rules 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/import-rules/"><img src="https://www.itechguides.com/best/badge/import-rules.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.

