Skip to content
pubscout

netglade_analysis

24.0.0, released 2 months ago by netglade.cz

Lint rules for Dart and Flutter used internally at netglade

WASM-ready
$ flutter pub add netglade_analysis
Source repository

What it does

Provides a set of custom lint rules and Dart Code Metrics configurations to enforce code quality and style guidelines in Dart and Flutter projects.

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

Use it when

  • You want to enforce a consistent coding style across a team
  • You need custom lint rules beyond the default linter set
  • You want to integrate Dart Code Metrics for additional static analysis

Skip it when

  • You prefer to use only the default linter rules
  • You need a different static analysis tool that conflicts with these rules

Strengths

  • Extensive rule set tailored to netglade’s standards
  • Easy integration via analysis_options.yaml
  • Supports Dart Code Metrics for deeper analysis

Weaknesses

  • Only available for Dart/Flutter, not for other languages
  • Requires adding a dev dependency and updating analysis options
  • May conflict with other custom lint configurations

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Add as dev_dependency and include lints.yaml in analysis_options.yaml; optionally extend dcm.yaml for Dart Code Metrics

```yaml
# pubspec.yaml
dev_dependencies:
  netglade_analysis: ^24.0.0

# analysis_options.yaml
include: package:netglade_analysis/lints.yaml
```

Alternatives

Packages that do the same job and could replace netglade_analysis.

  • very_good_analysis

    Lint rules for Dart and Flutter used internally at Very Good Ventures.

  • theodo_analysis

    Lint and DCM rules for Dart and Flutter used internally at Theodo Apps.

  • lints

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

  • bloc_lint

    Official lint rules for development when using the bloc state management library.