dart-sdk/pkg/nnbd_migration/analysis_options.yaml
Paul Berry fab3bc0467 Migration: enable the use of super parameters
Change-Id: Ie041191028bd0cd6c22571d1548a591f1852f89e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253861
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2022-08-07 12:28:39 +00:00

31 lines
890 B
YAML

include: package:lints/recommended.yaml
analyzer:
errors:
# There are currently 175 violations.
always_declare_return_types: ignore
# There are currently 60 violations.
annotate_overrides: ignore
# A number of class names mix UpperCamelCase with underscores.
camel_case_types: ignore
# This package freely and frequently imports implementation from analyzer.
implementation_imports: ignore
# Our test methods are named with snake_case.
non_constant_identifier_names: ignore
# There are currently 200 violations.
omit_local_variable_types: ignore
# There are currently 20 violations.
unawaited_futures: ignore
language:
strict-casts: true
linter:
rules:
- await_only_futures
- empty_constructor_bodies
- empty_statements
- unnecessary_brace_in_string_interps
- use_super_parameters
- valid_regexps