6917656134
Change-Id: I149a97bbe260600a3de664b28c4d212dd9adb889 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335862 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
31 lines
720 B
YAML
31 lines
720 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
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/scopes/data/**
|
|
- 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
|