leancode_lint 1.0.1 leancode_lint: ^1.0.1 copied to clipboard
Lint rules used internally at LeanCode.
leancode_lint #
Lint rules used internally in LeanCode projects.
Usage #
Add leancode_lint
as a normal dependency to access the unawaited
function when using dart version lower than 2.14.
dependencies:
leancode_lint: ^1.0.0
Apps #
Add include: package:leancode_lint/analysis_options.yaml
to analysis_options.yaml
in your project.
If necessary you can exclude some files from analysis.
include: package:leancode_lint/analysis_options.yaml
# Optional
analyzer:
exclude:
- '**/*.g.dart'
Packages #
For packages add include: package:leancode_lint/analysis_options.yaml
to analysis_options.yaml
.
include: package:leancode_lint/analysis_options_package.yaml
# Optional
analyzer:
exclude:
- '**/*.g.dart'