leobit_lints 0.1.0 copy "leobit_lints: ^0.1.0" to clipboard
leobit_lints: ^0.1.0 copied to clipboard

Leobit Linter for Dart and Flutter

Leobit Linter #

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:

dart pub add dev:leobit_lints

Then, add an include in analysis_options.yaml:

include: package:leobit_lints/leobit_lints.yaml

Suppressing Lints #

To suppress a specific lint rule for an entire project, modify analysis_options.yaml:

include: package:leobit_lints/leobit_lints.yaml

linter:
  rules:
    avoid_late_keyword: false