-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
31 lines (31 loc) · 944 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
# Defines a default set of lint rules enforced for projects at Google. For
# details and rationale, see https://github.com/dart-lang/pedantic.
include: package:pedantic/analysis_options.yaml
linter:
rules:
- always_declare_return_types
- annotate_overrides
- await_only_futures
- camel_case_types
- cancel_subscriptions
- comment_references
- constant_identifier_names
- empty_catches
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- library_names
- library_prefixes
- list_remove_unrelated_type
- non_constant_identifier_names
- only_throw_errors
- overridden_fields
- parameter_assignments
- prefer_final_fields
- prefer_final_locals
- sort_constructors_first
- sort_unnamed_constructors_first
- test_types_in_equals
- type_init_formals
- unnecessary_brace_in_string_interps
- unnecessary_getters_setters