pyramid_lint
3.0.0, released 6 months ago by an unverified publisher
Custom lints, quick fixes, and assists for Dart and Flutter.
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: trueAlternatives
Packages that do the same job and could replace pyramid_lint.
- lints
Official recommended lint rules from the Dart team.
86Compare - flutter_lints
Official recommended lint rules specifically for Flutter packages.
83Compare
Works with
Packages commonly used together with pyramid_lint: ones it builds on, ones built on it, and its own family.
- analyzerpyramid_lint depends on itPerforms static analysis of Dart code for tool integration and embedding.
- yamlpyramid_lint depends on itA Dart library for parsing YAML documents into Dart data structures.
- pub_semverpyramid_lint depends on itVersions and version constraints implementing pub's versioning policy.
- pubspec_parsepyramid_lint depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- source_genpyramid_lint depends on itSource code generation builders and utilities for the Dart build system.
- analyzer_pluginpyramid_lint depends on itFramework for building plugins for the Dart analysis server
- analysis_server_pluginpyramid_lint depends on itFramework and support code for building plugins for the Dart analysis server.
- build_runnerUsed togetherA build system for Dart code generation and modular compilation.