08c541aa9c
Luckily, the two cases which were reported could both be remedied by making more things private. * `DartFileEditBuilderImpl.librariesToImport` exposed `_LibraryImport`, but could be made private anyhow. Also, it's package-private code, so this is not a breaking change. * `CodegenVisitor.generateConstant` accepted a private type as an argument, but the whole class can be made private. Change-Id: I8613812385ed0e9a7e36922d86889dad4cedf3cd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428924 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
27 lines
644 B
YAML
27 lines
644 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
errors:
|
|
todo: ignore
|
|
# Remove from lints/recommended:
|
|
constant_identifier_names: ignore
|
|
implementation_imports: ignore
|
|
non_constant_identifier_names: ignore
|
|
# Existing violations (194)
|
|
unintended_html_in_doc_comment: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- always_declare_return_types
|
|
- flutter_style_todos
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_async
|
|
- unnecessary_ignore
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|