forked from tomyeh/markd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
34 lines (34 loc) · 958 Bytes
/
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
33
34
include: package:pedantic/analysis_options.1.9.0.yaml
analyzer:
language:
strict-inference: true
strict-raw-types: true
strong-mode:
implicit-casts: false
errors:
dead_code: error
unused_element: error
unused_import: error
unused_local_variable: error
# TODO(srawlins): Re-enable this once "unused" parameters are exempted.
inference_failure_on_untyped_parameter: ignore
linter:
rules:
- await_only_futures
- camel_case_types
# https://github.com/dart-lang/linter/issues/574
#- comment_references
- control_flow_in_finally
- directives_ordering
- empty_statements
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- non_constant_identifier_names
- only_throw_errors
- overridden_fields
- package_api_docs
- test_types_in_equals
- throw_in_finally
- unnecessary_brace_in_string_interps