This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
Releases: dart-code-checker/dart-code-metrics
Releases · dart-code-checker/dart-code-metrics
dart_code_metrics 5.7.0
What's Changed
- feat: add prefer-define-hero-tag rule by @san-smith in #1184
- feat: add avoid-substring rule by @lsaudon in #1206
- fix: handle dynamics in map literals for avoid-dynamic by @incendial in #1194
- fix: correctly track prefixes usage for check-unused-code by @incendial in #1208
- fix: visit only widgets for use-setstate-synchronously by @incendial in #1210
Full Changelog: 5.6.0...5.7.0
dart_code_metrics 5.6.0
What's Changed
- feat: add
allow-only-once
option tono-magic-number
rule by @san-smith in #1173 - chore: update bug report template by @incendial in #1175
- chore: update issue templates by @incendial in #1176
- chore: improve PR template by @incendial in #1177
- docs: remove old website by @incendial in #1174
- feat: add new rule correct-game-instantiating by @incendial in #1163
- feat: add static code diagnostic avoid-initializing-in-on-mount by @incendial in #1165
- feat: add avoid-creating-vector-in-update by @incendial in #1166
- feat: add static code diagnostic avoid-redundant-async-on-load by @incendial in #1168
- chore: remove unused code by @incendial in #1157
- fix: correctly support dartdoc tags for format-comment by @incendial in #1182
- fix: support assert(mounted) for use-setstate-synchronously by @incendial in #1181
- feat: add allow-nullable config option for avoid-returning-widgets by @incendial in #1180
- fix: fix moving to variable false positives by @incendial in #1186
- feat: add new config option by @incendial in #1187
- fix: check didChangeDependencies for avoid-unnecessary-setstate by @incendial in #1188
- fix: correctly handle dynamic type for avoid-passing-async-when-sync-expected by @incendial in #1189
- fix: correctly handle implicit type parameters for no-equal-arguments by @incendial in #1190
New Contributors
- @san-smith made their first contribution in #1173
Full Changelog: 5.5.1...5.6.0
dart_code_metrics 5.6.0-dev.1
What's Changed
- feat: add
allow-only-once
option tono-magic-number
rule by @san-smith in #1173 - chore: update bug report template by @incendial in #1175
- chore: update issue templates by @incendial in #1176
- chore: improve PR template by @incendial in #1177
- docs: remove old website by @incendial in #1174
- feat: add new rule correct-game-instantiating by @incendial in #1163
- feat: add static code diagnostic avoid-initializing-in-on-mount by @incendial in #1165
- feat: add avoid-creating-vector-in-update by @incendial in #1166
- feat: add static code diagnostic avoid-redundant-async-on-load by @incendial in #1168
New Contributors
- @san-smith made their first contribution in #1173
Full Changelog: 5.5.1...5.6.0-dev.1
dart_code_metrics 5.5.1
What's Changed
- docs(readme): update links to new docs base url path by @arefimenko in #1160
- fix: export missing parts of public API by @incendial in #1161
- feat: support context.mounted for use-setstate-synchronously by @incendial in #1164
New Contributors
- @arefimenko made their first contribution in #1160
Full Changelog: 5.5.0...5.5.1
dart_code_metrics 5.5.0
What's Changed
- chore: setup recommended vscode extensions by @dkrutskikh in #1138
- fix: additional cases for
use-setstate-synchronously
by @Desdaemon in #1136 - chore: add permissions for tests reporting by @dkrutskikh in #1081
- fix: list-all-equatable-fields should be typed common by @akaiser in #1141
- chore: tune VSCode settings by @dkrutskikh in #1140
- feat: exclude
.freezed.dart
files by default by @dkrutskikh in #1139 - feat: introduce prefer-provide-intl-description rule by @dkrutskikh in #1137
- fix: correctly handle prefixed enums and static instance fields for prefer-moving-to-variable by @incendial in #1123
- feat: add allow-initialized option to avoid-late-keyword by @incendial in #1145
- fix: ignore method invocations in a variable declaration for prefer-moving-to-variable by @incendial in #1144
- feat: add ignored-types option to avoid-late-keyword by @incendial in #1146
- fix: ignore enum constant arguments for no-magic-number by @nxtSwitch in #1150
- fix: support tear-off methods for check-unnecessary-nullable by @incendial in #1154
- docs: rename to DCM and update website links by @incendial in #1155
- fix: partially handle normal completion function body for avoid-redundant-async by @incendial in #1148
- feat: support type=lint suppression by @incendial in #1156
- fix: correctly handle empty comment sentence for format-comment by @incendial in #1159
New Contributors
- @akaiser made their first contribution in #1141
- @nxtSwitch made their first contribution in #1150
Full Changelog: 5.4.0...5.5.0
dart_code_metrics 5.4.0
What's Changed
- feat: add use-setstate-synchronously rule by @Desdaemon in #1120
- fix: ignore Providers for avoid-returning-widgets by @incendial in #1121
- feat: support ignoring nesting for prefer-conditional-expressions by @incendial in #1122
- fix: correctly handle FunctionExpressions for avoid-redundant-async by @incendial in #1124
- feat: show warning for rules without config that require config to work by @incendial in #1125
- feat: ignore tear-off methods for avoid-unused-parameters by @incendial in #1126
- fix: use-setstate-synchronously edge cases by @Desdaemon in #1128
- fix: handle multiline comments by @incendial in #1129
New Contributors
- @Desdaemon made their first contribution in #1120
Full Changelog: 5.3.0...5.4.0
dart_code_metrics 5.3.0
What's Change
- chore: remove strong-mode from analysis_options since it is no longer supported by @incendial in #1107
- feat: support ignoring regular comments for format-comment by @incendial in #1110
- fix: support function expression invocations for prefer-moving-to-variable by @incendial in #1109
- feat: add strict config option to avoid-collection-methods-with-unrelated-types by @incendial in #1111
- fix: ignore doc comments for prefer-commenting-analyzer-ignores by @incendial in #1115
- feat: add list-all-equatable-fields rule by @incendial in #1103
Full Changelog: 5.2.1...5.3.0
dart_code_metrics 5.2.1
What's Changed
- fix: avoid null check exception in the analyzer by @incendial in #1099
Full Changelog: 5.2.0...5.2.1
dart_code_metrics 5.2.0
What's Changed
- docs: Add better example for presets by @lsaudon in #1089
- fix: remove recursive traversal for ban-name by @incendial in #1090
- feat: add static code diagnostic
prefer-using-list-view
by @lsaudon in #1088 - feat: add avoid-unnecessary-conditionals rule by @incendial in #1094
- feat: add avoid-double-slash-imports rule by @incendial in #1095
- feat: support boolean literals removal for prefer-conditional-expressions auto-fix by @incendial in #1096
- fix: correctly support conditional imports for check-unused-code by @incendial in #1097
Full Changelog: 5.1.0...5.2.0
dart_code_metrics 5.1.0
What's Changed
- fix: correctly available check rule names by @incendial in #1068
- fix: add fail assertion as a valid method to missing_test_assertion rule by @orevial in #1069
- feat: add static code diagnostic arguments-ordering by @roman-petrov in #1047
- feat: add method call chains support on ban-name ident by @Hideart in #1034
- fix: update presets by @incendial in #1082
- feat: add static code diagnostic prefer-static-class by @roman-petrov in #1086
- docs: improve rule checklist for contributors by @roman-petrov in #1085
New Contributors
Full Changelog: 5.0.0...5.1.0