very_good_analysis
11.0.0, released 3 months ago by verygood.ventures
Lint rules for Dart and Flutter used internally at Very Good Ventures.
What it does
Provides a comprehensive set of lints for Dart and Flutter projects, along with automatic trailing comma configuration for the Dart formatter. It helps maintain code quality and consistency across a codebase.
AI-written summary of version 11.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a standardized, opinionated set of lint rules for Dart and Flutter projects
- You want to configure automatic trailing commas for the Dart formatter
Skip it when
- You prefer default Flutter lints or a custom linter configuration without strict rules
Strengths
- Promotes clean, consistent code and best practices used by Very Good Ventures
- Configures automatic trailing commas out of the box
- Provides instructions for suppressing lints at the line, file, or project level
Weaknesses
- Some rules are excluded due to experimental status, deprecation, or false positives
- Opinionated defaults may require overriding for certain code styles
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add as a dev dependency in pubspec.yaml and include the rules in analysis_options.yaml.
include: package:very_good_analysis/analysis_options.yamlAlternatives
Packages that do the same job and could replace very_good_analysis.
- flutter_lints
If you prefer the official lint rules recommended by the Flutter team.
83Compare
Works with
Packages commonly used together with very_good_analysis: ones it builds on, ones built on it, and its own family.
- very_good_test_runnerSame familyA Dart/Flutter test runner that streams TestEvent objects from dart test or flutter test.
- very_good_cliSame familyCLI for creating and managing Dart/Flutter projects
- very_good_infinite_listSame familyEasily display paginated and infinite scrolling lists in Flutter.
- catcherBuilt on very_good_analysisPlugin for automatic error catching and handling in Flutter applications.
- flutter_mapbox_navigationBuilt on very_good_analysisAdd turn-by-turn navigation to your Flutter app using Mapbox.