netglade_analysis

Last updated:

0 purchases

netglade_analysis Image
netglade_analysis Images
Add to Cart

Description:

netglade analysis

Developed with 💚 by netglade






Lint rules for Dart and Flutter used internally at netglade.
You can also check all the available Dart lint rules on linter rules site or supported lint rules site.
And you can see all the available on DCM rules site.
Usage #
To use the lints, add as a dev dependency in your pubspec.yaml:
dev_dependencies:
netglade_analysis: ^11.0.0
copied to clipboard
Then, add an include in analysis_options.yaml:
include: package:netglade_analysis/lints.yaml
copied to clipboard
To also use Dart Code Metrics, add configuration in analysis_options.yaml.
Then you can use its CLI tool.
dart_code_metrics:
extends:
- package:netglade_analysis/dcm.yaml
copied to clipboard
Recommendations #
Consider adding an analyzer exclude for generated, coverage, ... files.
analyzer:
exclude:
- '**/*.g.dart'
- '**/*.freezed.dart'
- test/.test_coverage.dart
- lib/generated_plugin_registrant.dart
copied to clipboard
Badge #
To indicate your project is using netglade_analysis →

[![style: netglade analysis](https://img.shields.io/badge/style-netglade_analysis-26D07C.svg)](https://pub.dev/packages/netglade_analysis)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.