Skip to content
pubscout

extra_pedantic

6.0.1, released 2 weeks ago by modulovalue.com

Stricter Dart analyzer linter settings and best practices as an alternative to lints.

WASM-ready
$ flutter pub add extra_pedantic
Source repository

What it does

Provides a comprehensive and stricter set of analyzer linter rules for Dart and Flutter projects. It serves as an alternative to the official lints package by enabling a wide range of best practice checks.

AI-written summary of version 6.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want a stricter set of static analysis rules than the default lints package.
  • You want to enforce consistent code style and catch potential bugs early via the analyzer.

Skip it when

  • You prefer a very lenient linting setup without strict pedantic rules.
  • Your team disagrees with specific rule sets enabled by this package.

Strengths

  • Comprehensive coverage of Dart linter rules with documented enablement status.
  • Easy to integrate via analysis_options.yaml.

Weaknesses

  • May require significant refactoring to satisfy strict rules on existing codebases.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Add as a dev_dependency and include package:extra_pedantic/analysis_options.yaml in your analysis_options.yaml file.

dev_dependencies:
  extra_pedantic: 6.0.1

# analysis_options.yaml
include: package:extra_pedantic/analysis_options.yaml

Alternatives

Packages that do the same job and could replace extra_pedantic.

  • yumemi_lints

    Customizable linter library enforcing coding standards for Flutter and Dart apps.

  • pedantic_mono

    Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

  • pyramid_lint

    Custom lints, quick fixes, and assists for Dart and Flutter.

  • altive_lints

    Analyzer-independent lint presets with Altive's recommended rule selection and optional Analyzer Plugin.

Works with

Packages commonly used together with extra_pedantic: ones it builds on, ones built on it, and its own family.