dart-sdk/pkg/dev_compiler/analysis_options.yaml
Devon Carew 7f026d6e46 [dev_compiler] remove the dep on package:cli_util
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>
2022-02-11 00:50:31 +00:00

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