Leobit Lints

Lint rules for Dart and Flutter developed by Leobit.

Note: This package was inspired by Very Good Analysis.

Usage

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

dev_dependencies:
  leobit_lints: <latest-version>

Then, add an include in analysis_options.yaml:

include: package:leobit_lints/leobit_lints.yaml

Custom Rules:

  • avoid_bang_operator
  • avoid_late_keyword
  • avoid_redundant_async
  • use_const_border
  • use_const_border_radius
  • use_list_view

Libraries

leobit_lints