mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
6917656134
Change-Id: I149a97bbe260600a3de664b28c4d212dd9adb889 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335862 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
26 lines
632 B
YAML
26 lines
632 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
errors:
|
|
# Remove from lints/recommended:
|
|
constant_identifier_names: ignore
|
|
implementation_imports: ignore
|
|
non_constant_identifier_names: ignore
|
|
# Existing violations (3)
|
|
library_private_types_in_public_api: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- always_declare_return_types
|
|
- enable_null_safety
|
|
- flutter_style_todos
|
|
- library_annotations
|
|
- omit_local_variable_types
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|