1f8aea0c81
Changes: ``` > git log --format="%C(auto) %h %s" af68bf0..a97011b https://dart.googlesource.com/lints.git/+/a97011b add unintended_html_in_doc_comment; rev to 5.1.0 (211) ``` Diff: https://dart.googlesource.com/lints.git/+/af68bf0cbad88002a2ae19ee8db37b64eb120c32..a97011b4b031b1df94765dbacd7d92b0b765c8b9/ Change-Id: I998d73f5f72e94d5f2922b0751d31620a837555e Tested: analysis only change Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/387601 Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
strict-raw-types: true
|
|
errors:
|
|
# Increase the severity of the unused_import hint.
|
|
unused_import: warning
|
|
|
|
# Lints from the recommended set that conflict w/ analyzer style or will
|
|
# require some work to reach compliance.
|
|
# See: https://github.com/dart-lang/sdk/issues/48785
|
|
|
|
# A fair amount of lib/ code (especially protocol-related code) does not
|
|
# comply.
|
|
constant_identifier_names: ignore
|
|
# This package imports much of the implementation libraries of the
|
|
# 'analyzer' (and sometimes the '_fe_analyzer_shared' package), because it
|
|
# is tightly integrated. This will not likely change any time soon.
|
|
implementation_imports: ignore
|
|
# There are just over 100 violations of this, which can likely be ignored
|
|
# on a case-by-case or file-by-file basis.
|
|
non_constant_identifier_names: ignore
|
|
overridden_fields: ignore
|
|
todo: ignore
|
|
# Existing violations (361)
|
|
unintended_html_in_doc_comment: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- analyzer_use_new_elements
|
|
- avoid_redundant_argument_values
|
|
- flutter_style_todos
|
|
- library_annotations
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_breaks
|
|
- unnecessary_final
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|