/better_linter

lints for me includes very_good_analysis and dart_code_metrics

Primary LanguageDart

Dart SDK Version

Usage

To use the lints, add as a dev dependency in your pubspec.yaml:

dev_dependencies:
  better_linter:
    git:
      url: git@github.com:mdikcinar/better_linter.git
      ref: master

Then, add an include in analysis_options.yaml:

include: package:better_linter/analysis_options.yaml

This will ensure you always use the latest version of the lints. If you wish to restrict the lint version, specify a version of analysis_options.yaml instead:

include: package:better_linter/analysis_options.1.0.0.yaml