mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Paul Berry](/assets/img/avatar_default.png)
This change prevents `TODO` comments in pkg/kernel from showing up in Visual Studio Code's "problems" view, which makes it much easier to see errors, warnings, and lints in that view. With this change, Visual Studio Code now treats `TODO` comments the same in `pkg/kernel` as they are treated in `pkg/_fe_analyzer_shared`, `pkg/front_end`, and `pkg/analyzer`. Change-Id: Ifeff026b9cf5ef13c8b1a4382a82441175165374 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338589 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
23 lines
509 B
YAML
23 lines
509 B
YAML
analyzer:
|
|
errors:
|
|
todo: ignore
|
|
exclude:
|
|
- testcases/**
|
|
|
|
linter:
|
|
rules:
|
|
- collection_methods_unrelated_type
|
|
- curly_braces_in_flow_control_structures
|
|
- prefer_adjacent_string_concatenation
|
|
- unawaited_futures
|
|
- recursive_getters
|
|
- avoid_empty_else
|
|
- empty_statements
|
|
- valid_regexps
|
|
- package_api_docs
|
|
- lines_longer_than_80_chars
|
|
- unrelated_type_equality_checks
|
|
- annotate_overrides
|
|
- always_declare_return_types
|
|
# - always_specify_types
|