Skip to content
pubscout

pyramid_lint

3.0.0, released 6 months ago by an unverified publisher

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

$ flutter pub add pyramid_lint
Source repository

What it does

Pyramid Lint extends the Dart analyzer with optional rules for general Dart code and Flutter widgets. It provides opt-in lints, automated quick fixes, and refactoring assists configured through analysis_options.yaml.

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

Use it when

  • You want custom lint rules and quick fixes for Dart and Flutter projects
  • You want to enforce coding standards via analyzer plugins

Skip it when

  • You do not use static analysis plugins in your workflow

Strengths

  • Extends the Dart analyzer with opt-in rules and quick fixes
  • Configured directly in analysis_options.yaml as a native analyzer plugin

Weaknesses

  • All rules are disabled by default requiring manual configuration
  • Breaking changes can occur when migrating across major versions

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
9

Add the plugin under the root analysis_options.yaml file under the plugins section.

plugins:
  pyramid_lint: ^3.0.0
    diagnostics:
      max_lines_for_file: true

Alternatives

Packages that do the same job and could replace pyramid_lint.

Works with

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