Skip to content

ml-opensource/flutter_lints

Repository files navigation

Monstarlab Flutter Lints pub version

Flutter lint rules used by Monstarlab. Built on top of the officially recommended Flutter rules.

Usage

Install

dart pub add dev:monstarlab_lints
# or
flutter pub add dev:monstarlab_lints

Or add it to the pubspec.yaml yourself:

dev_dependencies:
  monstarlab_lints: ^1.0.4

Configure analysis options

Modify your analysis_options.yaml:

include: package:monstarlab_lints/analysis_options.yaml

Maintaining

To publish a new version to pub.dev, create a new tag with required version used as a title. For example, creating a tag 1.0.3 will result in pushing the package to pub.dev with version 1.0.3.