Custom lint rules for Dart and Flutter.
To use choco_lints in your project, follow these steps:
- Add
choco_lintsas a dev dependency in yourpubspec.yamlfile:
dev_dependencies:
choco_lints:
git:
url: https://github.com/charlescyt/choco_lints.git
ref: v1.8.0 # specify version here- Include
choco_lints/app.yamlorchoco_lints/package.yamlin youranalysis_options.yamlfile:
include: package:choco_lints/app.yaml
or
include: package:choco_lints/package.yaml