mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
7f026d6e46
Change-Id: I34c17dc76a0c608ac3536bfdf2c0e39bb8daa6c1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232424 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
30 lines
730 B
YAML
30 lines
730 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/transformer/hello_app/**
|
|
|
|
linter:
|
|
rules:
|
|
# Not enforced by lints at any version.
|
|
- always_declare_return_types
|
|
- depend_on_referenced_packages
|
|
- directives_ordering
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- prefer_relative_imports
|
|
- unawaited_futures
|