Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_code_metrics_presets

Predefined configuration presets of lint rules and metrics for DCM.

pub.devRemove
lints

Official Dart team lint rules for core and recommended static analysis settings.

pub.devRemove
ScoresHealth7686 (best)
Maintenance82 (best)66
Quality81100 (best)
Popularity7294 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)129k14M (best)
Likes39269 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars1077 (best)
MaintenanceLatest release2.34.0, 5 weeks ago (best)6.1.0, 10 months ago
Major versions in 12 months00
Contributors1100+ (best)
Publisherdcm.devdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Saves configuration time by providing ready-made rule presets.
  • Includes presets tailored for many popular third-party packages.
  • Allows easy overriding or disabling of individual rules.
  • Official rules maintained directly by the Dart team.
  • Enabled by default in new projects created via 'dart create'.
  • Helps improve pub.dev scoring based on passing core lints.
Weaknesses
  • Strictly depends on DCM being used in your workflow.
  • Preset rules and thresholds may require fine-tuning for specific project needs.
  • Limited to core and recommended sets without a strict rule set option from the authors.
  • Requires manual configuration in an analysis_options.yaml file for existing projects.
Warnings
  • Single maintainer
None
dart_code_metrics_presets vs lints: which Flutter package should you use? | pubscout