leancode_lint 1.0.1+1 leancode_lint: ^1.0.1+1 copied to clipboard
Lint rules used internally at LeanCode.
leancode_lint #
Lint rules used internally in LeanCode projects.
Installation #
Add leancode_lint
as a dev dependency.
dev_dependencies:
leancode_lint: ^1.0.1+1
Dart <2.14 #
When using Dart <2.14, consider adding leancode_lint
as a normal dependency
instead to access the
unawaited
function.
dependencies:
leancode_lint: ^1.0.1+1
Usage #
Add include: package:leancode_lint/analysis_options.yaml
to
analysis_options.yaml
in your project. You might want to exclude some files
(e.g generated frezeed models) from analysis.
include: package:leancode_lint/analysis_options.yaml
# Optional
analyzer:
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"