Files
sdk/pkg/dev_compiler/analysis_options.yaml
T
Johnni Winther 4eed065859 [cfe] Add CFE test for DartScope
This adds a CFE test for DartScope that shares the data with the
corresponding DDC test. The CFE test uses the DartScopeBuilder2
which is currently in development to replace the DartScopeBuilder.

Change-Id: I0d6c76957e7a5d28babab14110d430935e686b22
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335821
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-11-15 10:17:23 +00:00

30 lines
694 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
- directives_ordering
- omit_local_variable_types
- prefer_single_quotes
- prefer_relative_imports
- unawaited_futures