forked from angulardart/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
32 lines (29 loc) · 1.09 KB
/
analysis_options.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
analyzer:
errors:
# Permanent exclusions: Unlikely to removed.
# =====================
# Allow importing .template.dart files without an [explicit] analyzer error.
uri_has_not_been_generated: ignore
# Ignore our own deprecated symbols (too noisy).
deprecated_member_use_from_same_package: ignore
# Allow having TODOs in the code (too noisy).
todo: ignore
# Security exclusions: We are security reviewed separate from these lints.
# =====================
avoid_bypassing_html_security: ignore
avoid_dynamic_execution: ignore
avoid_unsafe_apis: ignore
unsafe_html: ignore
# Temporary exclusions: Can be removed in the future.
# =====================
# Re-enable once we no longer have 200+ analyzer related deprecations.
deprecated_member_use: ignore
# Re-enable this once unused parameters are exempted (e.g. callback(_) {}).
inference_failure_on_untyped_parameter: ignore
linter:
rules:
- prefer_equal_for_default_values
- prefer_generic_function_type_aliases
- slash_for_doc_comments
- unnecessary_const
- unnecessary_new