leancode_lint 1.1.0 copy "leancode_lint: ^1.1.0" to clipboard
leancode_lint: ^1.1.0 copied to clipboard

outdated

Lint rules used internally at LeanCode.

leancode_lint #

leancode_lint pub.dev badge

Lint rules used internally in LeanCode projects.

Installation #

Add leancode_lint as a dev dependency.

dev_dependencies:
  leancode_lint: ^1.0.2

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.2

Usage #

App #

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 freezed models) from analysis.

include: package:leancode_lint/analysis_options.yaml

# Optional
analyzer:
  exclude:
    - '**/*.g.dart'
    - '**/*.freezed.dart'

Package #

Add include: package:leancode_lint/analysis_options_package.yaml to analysis_options.yaml in your project. It includes additional lints for packages. You might want to exclude some files (e.g generated freezed models) from analysis.

include: package:leancode_lint/analysis_options_package.yaml

# Optional
analyzer:
  exclude:
    - '**/*.g.dart'
    - '**/*.freezed.dart'
59
likes
0
points
15.8k
downloads

Publisher

verified publisherleancode.co

Weekly Downloads

Lint rules used internally at LeanCode.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter_lints

More

Packages that depend on leancode_lint