forked from exercism/dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
38 lines (35 loc) · 928 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
35
36
37
38
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
unused_element: error
unused_import: error
unused_local_variable: error
dead_code: error
linter:
rules:
# Error Rules
- avoid_empty_else
- empty_statements
- literal_only_boolean_expressions
- no_duplicate_case_values
- unnecessary_statements
- valid_regexps
# Style Rules
- always_declare_return_types
- always_put_required_named_parameters_first
- always_require_non_null_named_parameters
- annotate_overrides
- avoid_init_to_null
- avoid_return_types_on_setters
- camel_case_types
- constant_identifier_names
- empty_catches
- empty_constructor_bodies
- one_member_abstracts
- slash_for_doc_comments
- sort_constructors_first
- use_setters_to_change_properties
# Package Rules
- package_names