cc7fcb5f70
Change-Id: I0111e74d312f6d3aeebb80f017a4f48fc6186109 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218220 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com>
30 lines
700 B
YAML
30 lines
700 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
strong-mode:
|
|
implicit-casts: false
|
|
errors:
|
|
todo: ignore
|
|
avoid_function_literals_in_foreach_calls: ignore
|
|
avoid_renaming_method_parameters: ignore
|
|
constant_identifier_names: ignore
|
|
implementation_imports: ignore
|
|
prefer_void_to_null: ignore
|
|
exclude:
|
|
- doc/api/**
|
|
- gen/**
|
|
- node_modules/**
|
|
- test/codegen/**
|
|
- test/samples/**
|
|
- test/transformer/hello_app/**
|
|
|
|
linter:
|
|
rules:
|
|
# Not enforced by lints at any version.
|
|
- always_declare_return_types
|
|
- directives_ordering
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- prefer_relative_imports
|
|
- unawaited_futures
|