2022-03-19 00:06:21 +00:00
|
|
|
include: package:lints/recommended.yaml
|
2020-09-17 20:52:43 +00:00
|
|
|
|
2019-07-30 13:40:07 +00:00
|
|
|
analyzer:
|
2020-09-17 20:52:43 +00:00
|
|
|
errors:
|
|
|
|
# There are currently 175 violations.
|
|
|
|
always_declare_return_types: ignore
|
|
|
|
# There are currently 60 violations.
|
|
|
|
annotate_overrides: ignore
|
2022-03-19 00:06:21 +00:00
|
|
|
# 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
|
2020-09-17 20:52:43 +00:00
|
|
|
# There are currently 200 violations.
|
|
|
|
omit_local_variable_types: ignore
|
|
|
|
# There are currently 20 violations.
|
|
|
|
unawaited_futures: ignore
|
2023-05-22 21:58:37 +00:00
|
|
|
todo: ignore
|
2020-09-17 20:52:43 +00:00
|
|
|
|
2021-12-01 16:49:16 +00:00
|
|
|
language:
|
|
|
|
strict-casts: true
|
2020-09-17 20:52:43 +00:00
|
|
|
|
2019-07-30 13:40:07 +00:00
|
|
|
linter:
|
|
|
|
rules:
|
2020-09-24 16:58:50 +00:00
|
|
|
- await_only_futures
|
2022-11-21 21:46:28 +00:00
|
|
|
- collection_methods_unrelated_type
|
|
|
|
- dangling_library_doc_comments
|
|
|
|
- depend_on_referenced_packages
|
2019-07-30 13:40:07 +00:00
|
|
|
- empty_constructor_bodies
|
|
|
|
- empty_statements
|
2022-11-21 21:46:28 +00:00
|
|
|
- enable_null_safety
|
|
|
|
- implicit_call_tearoffs
|
|
|
|
- library_annotations
|
|
|
|
- unawaited_futures
|
2019-07-30 13:40:07 +00:00
|
|
|
- unnecessary_brace_in_string_interps
|
2022-11-21 21:46:28 +00:00
|
|
|
- unnecessary_library_directive
|
|
|
|
- unnecessary_parenthesis
|
|
|
|
- unreachable_from_main
|
2022-08-07 12:28:39 +00:00
|
|
|
- use_super_parameters
|
2023-05-22 21:58:37 +00:00
|
|
|
- valid_regexps
|