|
1 |
| -## 7.0.0 |
2 |
| -- Adhere to DCM 1.13.0: |
3 |
| - - Add avoid-duplicate-collection-elements |
4 |
| - - Add avoid-duplicate-initializers |
5 |
| - - Add avoid-duplicate-map-keys |
6 |
| - - Add avoid-nullable-tostring |
7 |
| - - Add avoid-unused-after-null-check |
8 |
| - - Add move-variable-outside-iteration |
9 |
| - - Add avoid-undisposed-instances |
10 |
| - - Add avoid-unassigned-stream-subscriptions |
11 |
| -- Update prefer-switch-with-enums with `ignore-contains: true` |
12 |
| -- Remove DCM rules `match-class-name-pattern`, `tag-name`, `add-copy-with`, and `extend-equatable`, since we do not configure it (and added comment so we know it's ok) |
13 |
| - |
14 |
| -## 6.0.0 |
15 |
| -- Add DCM rule prefer-correct-error-name with `e` for error |
16 |
| -- Add DCM rule prefer-widget-private-members |
17 |
| -- Remove DCM rule banned-dependencies since we do not configure it (and add comment so we know it's ok) |
18 |
| -- Adhere to DCM 1.11.0 and 1.12.0: |
19 |
| - - Add avoid-duplicate-cascades |
20 |
| - - Add avoid-duplicate-switch-case-conditions |
21 |
| - - Add avoid-unnecessary-local-late |
22 |
| - - Add avoid-unnecessary-super |
23 |
| - - Add prefer-both-inlining-annotations |
24 |
| - - Add prefer-correct-callback-field-name |
25 |
| - - Add prefer-correct-error-name |
26 |
| - - Add prefer-correct-setter-parameter-name |
27 |
| - - Add prefer-explicit-function-type |
28 |
| - - Add prefer-specific-cases-first |
29 |
| - - Add prefer-typedefs-for-callbacks |
30 |
| - - Add prefer-unique-test-names |
31 |
| - - Add prefer-widget-private-members |
32 |
| - - Add avoid-inferrable-type-arguments |
33 |
| - - Add prefer-switch-with-enums |
34 |
| - - Add avoid-misused-test-matchers |
35 |
| - - Add prefer-any-or-every |
36 |
| - - Add avoid-duplicate-test-assertions |
37 |
| - - Add avoid-conditional-hooks |
38 |
| - - Add avoid-hooks-outside-build |
39 |
| - - Add prefer-use-prefix |
40 |
| -- Update function-always-returns-null - disable in useEffect |
41 |
| - |
42 |
| -## 5.0.0 |
43 |
| -- Adhere to DCM 1.10.0: |
44 |
| - - Add avoid-accessing-collections-by-constant-index |
45 |
| - - Add avoid-extensions-on-records |
46 |
| - - Add avoid-local-functions |
47 |
| - - Enable skip-checked-fields on avoid-non-null-assertion |
48 |
| - - Add avoid-nullable-parameters-with-default-values |
49 |
| - - Add avoid-unnecessary-late |
50 |
| - - Add avoid-wildcard-cases-with-enums |
51 |
| - - Add avoid-single-child-column-or-row |
52 |
| - - Add prefer-sliver-prefix |
53 |
| - - Add avoid-functions-in-register-singleton |
54 |
| - |
55 |
| -## 4.2.0 |
56 |
| -- Adhere to DCM 1.9.0: |
57 |
| - - Add avoid-async-callback-in-fake-async |
58 |
| - - Add move-variable-closer-to-its-usage |
59 |
| - - Add avoid-passing-self-as-argument |
60 |
| - - Add avoid-referencing-discarded-variables |
61 |
| - - Add avoid-unconditional-break |
62 |
| - - Add avoid-weak-cryptographic-algorithms |
63 |
| - - Add avoid-identical-exception-handling-blocks |
64 |
| - - Add avoid-recursive-calls |
65 |
| - - Add avoid-missing-interpolation |
66 |
| - - Add avoid-unnecessary-if |
67 |
| - |
68 |
| -## 4.1.0 |
69 |
| -- Temporarily remove (its WIP and not recognized): |
70 |
| - - no_wildcard_variable_uses |
71 |
| - - no_self_assignments |
72 |
| -- Remove no-equal-arguments |
73 |
| - |
74 |
| -## 4.0.0 |
75 |
| -- Adhere to DCM 1.8.0: |
76 |
| - - Add prefer-custom-finder-over-find |
77 |
| - - Add prefer-symbol-over-key |
78 |
| - - Add avoid-map-keys-contains |
79 |
| - - Add avoid-async-call-in-sync-function |
80 |
| - - Add avoid-duplicate-mixins |
81 |
| - - Add avoid-nullable-interpolation |
82 |
| - - Add avoid-unused-instances |
83 |
| - - Add enum-constants-ordering |
84 |
| - - Add prefer-named-boolean-parameters |
85 |
| - - Add prefer-correct-for-loop-increment |
86 |
| - - Add prefer-public-exception-classes |
87 |
| - - Add avoid-unnecessary-reassignment |
88 |
| - - Add avoid-recursive-widget-calls |
89 |
| - - Add prefer-text-rich |
90 |
| -- Adhere to Dart lints 3.1.0: |
91 |
| - - Add no_self_assignments |
92 |
| - - Add no_wildcard_variable_uses |
93 |
| - |
94 |
| -## 3.0.0 |
95 |
| -- Adhere to DCM 1.7.0: |
96 |
| - - Add avoid-accessing-other-classes-private-members |
97 |
| - - Add avoid-generics-shadowing |
98 |
| - - Add avoid-keywords-in-wildcard-pattern |
99 |
| - - Add avoid-misused-wildcard-pattern |
100 |
| - - Add avoid-nested-futures |
101 |
| - - Add avoid-nested-streams-and-futures |
102 |
| - - Add avoid-shadowed-extension-methods |
103 |
| - - Add avoid-uncaught-future-errors |
104 |
| - - Add avoid-unnecessary-call |
105 |
| - - Add avoid-unnecessary-futures |
106 |
| - - Add map-keys-ordering |
107 |
| - - Add no-equal-nested-conditions |
108 |
| - - Add prefer-correct-future-return-type |
109 |
| - - Add prefer-correct-stream-return-type |
110 |
| - - Add prefer-parentheses-with-if-null |
111 |
| - - Add prefer-trailing-comma |
112 |
| - - Add avoid-missing-image-alt |
113 |
| - - Add avoid-unnecessary-overrides-in-state |
114 |
| - - Add prefer-dedicated-media-query-methods |
115 |
| - - Update allow-false for no-boolean-literal-compare |
116 |
| - - Disable in tests avoid-non-ascii-symbols |
117 |
| - - Disable in tests prefer-moving-to-variable |
118 |
| - - Remove avoid-long-parameter-list |
119 |
| - |
120 |
| -## 2.0.1 |
121 |
| -- Fix README logo |
122 |
| - |
123 |
| -## 2.0.0 |
124 |
| -- New Dart lints: |
125 |
| - - collection_methods_unrelated_type |
126 |
| - - deprecated_member_use_from_same_package |
127 |
| - - implicit_reopen |
128 |
| - - invalid_case_patterns |
129 |
| - - unnecessary_library_directive |
130 |
| - - combinators_ordering |
131 |
| - - dangling_library_doc_comments |
132 |
| - - implicit_call_tearoffs |
133 |
| - - matching_super_parameters |
134 |
| - - no_literal_bool_comparisons |
135 |
| - - type_literal_in_constant_pattern |
136 |
| - - unnecessary_breaks |
137 |
| - - use_string_in_part_of_directives |
138 |
| -- Update DCM rules and CI to adhere DCM Teams 1.6.0. |
139 |
| -- New DCM lints: |
140 |
| - - avoid-any-version |
141 |
| - - banned-dependencies |
142 |
| - - prefer-caret-version-syntax |
143 |
| - - prefer-correct-screenshots |
144 |
| - - prefer-publish-to-none |
145 |
| - - prefer-semver-version |
146 |
| - - avoid-bottom-type-in-patterns |
147 |
| - - avoid-bottom-type-in-records |
148 |
| - - avoid-collapsible-if |
149 |
| - - avoid-declaring-call-method |
150 |
| - - avoid-duplicate-named-imports |
151 |
| - - avoid-duplicate-patterns |
152 |
| - - avoid-equal-expressions |
153 |
| - - avoid-explicit-pattern-field-name |
154 |
| - - avoid-function-type-in-records |
155 |
| - - avoid-future-tostring |
156 |
| - - avoid-inverted-boolean-checks |
157 |
| - - avoid-long-records |
158 |
| - - avoid-missed-calls |
159 |
| - - avoid-mixing-named-and-positional-fields |
160 |
| - - avoid-nested-records |
161 |
| - - avoid-nested-switch-expressions |
162 |
| - - avoid-nested-switches |
163 |
| - - avoid-one-field-records |
164 |
| - - avoid-positional-record-field-access |
165 |
| - - avoid-redundant-else |
166 |
| - - avoid-redundant-positional-field-name |
167 |
| - - avoid-redundant-pragma-inline |
168 |
| - - avoid-self-assignment |
169 |
| - - avoid-self-compare |
170 |
| - - avoid-shadowing |
171 |
| - - avoid-substring |
172 |
| - - avoid-throw-objects-without-tostring |
173 |
| - - avoid-unassigned-late-fields-keyword |
174 |
| - - avoid-unnecessary-conditionals |
175 |
| - - avoid-unnecessary-negations |
176 |
| - - avoid-unnecessary-nullable-return-type |
177 |
| - - avoid-unnecessary-return |
178 |
| - - avoid-unrelated-type-casts |
179 |
| - - avoid-unsafe-collection-methods |
180 |
| - - avoid-unused-generics |
181 |
| - - function-always-returns-null |
182 |
| - - move-records-to-typedefs |
183 |
| - - no-equal-conditions |
184 |
| - - no-equal-switch-case |
185 |
| - - no-equal-switch-expression-cases |
186 |
| - - prefer-bytes-builder |
187 |
| - - prefer-correct-switch-length |
188 |
| - - prefer-declaring-const-constructor |
189 |
| - - prefer-early-return |
190 |
| - - prefer-explicit-parameter-names |
191 |
| - - prefer-return-await |
192 |
| - - prefer-simpler-patterns-null-check |
193 |
| - - prefer-test-matchers |
194 |
| - - prefer-visible-for-testing-on-members |
195 |
| - - prefer-wildcard-pattern |
196 |
| - - unnecessary-trailing-comma |
197 |
| - - add-copy-with |
198 |
| - - avoid-empty-setstate |
199 |
| - - avoid-expanded-as-spacer |
200 |
| - - avoid-incomplete-copy-with |
201 |
| - - avoid-inherited-widget-in-initstate |
202 |
| - - avoid-late-context |
203 |
| - - avoid-state-constructors |
204 |
| - - avoid-stateless-widget-initialized-fields |
205 |
| - - avoid-unnecessary-stateful-widgets |
206 |
| - - dispose-fields |
207 |
| - - prefer-action-button-tooltip |
208 |
| - - prefer-define-hero-tag |
209 |
| - - proper-super-calls |
210 |
| - - use-setstate-synchronously |
211 |
| - - avoid-instantiating-in-value-provider |
212 |
| - - avoid-read-inside-build |
213 |
| - - avoid-watch-outside-build |
214 |
| - - dispose-providers |
215 |
| - - prefer-multi-provider |
216 |
| - - avoid-bloc-public-methods |
217 |
| - - check-is-not-closed-after-async-gap |
218 |
| - - prefer-correct-bloc-provider |
219 |
| - - prefer-multi-bloc-provider |
220 |
| - - extend-equatable |
221 |
| - - list-all-equatable-fields |
222 |
| - |
223 |
| -## 1.2.3 |
224 |
| -- Fix pub dev icon. |
225 |
| - |
226 |
| -## 1.2.2 |
227 |
| -- Fix pub dev picture. |
228 |
| - |
229 |
| -## 1.2.1 |
230 |
| -- Update logo. |
231 |
| - |
232 |
| -## 1.2.0 |
233 |
| -- Remove `analyzer:exclude:` from `lints.yaml`. (add to README as a recommendation) |
234 |
| -- Add a Discord link to README. |
235 |
| - |
236 |
| -# 1.1.2 |
237 |
| -- Enable `format-comment`; issues with it were fixed. |
238 |
| - |
239 |
| -# 1.1.1 |
240 |
| -- Configure `prefer-static-class` DCM rule exceptions for hooks and providers. |
241 |
| -- Disable `format-comment` because of https://github.com/dart-code-checker/dart-code-metrics/issues/1158. |
242 |
| - |
243 |
| -# 1.1.0 |
244 |
| -- Add `prefer-static-class` DCM rule. |
245 |
| -- Add `use-setstate-synchronously` DCM rule. |
246 |
| -- Add `prefer-using-list-view` DCM rule. |
247 |
| -- Disable `alphabetize` from `member-ordering` DCM rule. |
248 |
| -- **Breaking**: rename `code_metrics.yaml` to `dcm.yaml`. |
249 |
| - |
250 |
| -# 1.0.0 |
251 |
| - |
252 |
| -- Add `analysis_options` and `code_metrics` used at [netglade](https://netglade.com/en) |
| 1 | +## 1.0.0 |
| 2 | +- Initial release. |
0 commit comments