@@ -10,17 +10,17 @@ analyzer:
10
10
- doc/tutorials/chapter_9/rohd_vf_example
11
11
- rohd_devtools_extension
12
12
13
- # keep up to date, matching https://dart-lang.github.io/ linter/lints/options/options.html
13
+ # keep up to date, matching https://dart.dev/tools/ linter-rules/all
14
14
# some lints are not yet available, so disabled and marked with [not currently recognized]
15
15
linter :
16
16
rules :
17
17
- always_declare_return_types
18
18
- always_put_control_body_on_new_line
19
19
- always_put_required_named_parameters_first
20
- - always_require_non_null_named_parameters
21
20
# - always_specify_types
22
21
- always_use_package_imports
23
22
- annotate_overrides
23
+ - annotate_redeclares
24
24
# - avoid_annotating_with_dynamic
25
25
- avoid_bool_literals_in_conditional_expressions
26
26
- avoid_catches_without_on_clauses
@@ -46,8 +46,6 @@ linter:
46
46
- avoid_relative_lib_imports
47
47
- avoid_renaming_method_parameters
48
48
- avoid_return_types_on_setters
49
- - avoid_returning_null
50
- - avoid_returning_null_for_future
51
49
- avoid_returning_null_for_void
52
50
- avoid_returning_this
53
51
- avoid_setters_without_getters
@@ -95,15 +93,13 @@ linter:
95
93
- implicit_call_tearoffs
96
94
- implicit_reopen
97
95
- invalid_case_patterns
98
- # - iterable_contains_unrelated_type [deprecated]
99
96
- join_return_with_assignment
100
97
- leading_newlines_in_multiline_strings
101
98
- library_annotations
102
99
- library_names
103
100
- library_prefixes
104
101
- library_private_types_in_public_api
105
102
- lines_longer_than_80_chars
106
- # - list_remove_unrelated_type [deprecated]
107
103
- literal_only_boolean_expressions
108
104
- matching_super_parameters
109
105
- missing_whitespace_between_adjacent_strings
0 commit comments