cosee_lints

Creator: coderz1093

Last updated:

0 purchases

cosee_lints Image
cosee_lints Images

Languages

Categories

Add to Cart

Description:

cosee lints

cosee lints #








This package provides custom lint rules and metrics for Dart and Flutter projects used internally
at cosee GmbH. It can be added to your project as a dev dependency.
Installation #
To install the package, add the following to your pubspec.yaml file:
dev_dependencies:
cosee_lints: ^0.6.0
copied to clipboard
Then, add an include in analysis_options.yaml.
For a casual project:
include: package:cosee_lints/analysis_options.yaml
copied to clipboard
For a package:
include: package:cosee_lints/analysis_options_package.yaml
copied to clipboard
If you are using dart_code_linter you can extend our preset by adding the
following line in analysis_options.yaml:
dart_code_linter:
extends:
- package:cosee_lints/metrics.yaml
copied to clipboard
Usage #
The lint rules can be run using the following command:
dart analyze

# or for Flutter
flutter analyze
copied to clipboard
The Dart Code Metrics can be run using the following command:
dart run dart_code_linter:metrics analyze lib
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.