cosee_lints 0.7.0 copy "cosee_lints: ^0.7.0" to clipboard
cosee_lints: ^0.7.0 copied to clipboard

Lint rules and metrics for Dart and Flutter used internally at cosee GmbH.

cosee lints #



pub package package publisher license

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.7.0

Then, add an include in analysis_options.yaml.
For a casual project:

include: package:cosee_lints/analysis_options.yaml

For a package:

include: package:cosee_lints/analysis_options_package.yaml

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

Usage #

The lint rules can be run using the following command:

dart analyze

# or for Flutter
flutter analyze

The Dart Code Metrics can be run using the following command:

dart run dart_code_linter:metrics analyze lib
3
likes
160
points
330
downloads

Publisher

verified publishercosee.biz

Weekly Downloads

Lint rules and metrics for Dart and Flutter used internally at cosee GmbH.

Homepage
Repository (GitHub)
View/report issues

Topics

#lints

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on cosee_lints