This repository was archived by the owner on Jul 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +22
-11
lines changed Expand file tree Collapse file tree 10 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## Unreleased
3+ ## 4.10.0
44
5+ * feat: add ` check-unused-code ` command with monorepos support.
6+ * feat: support excludes for a separate anti-pattern.
7+ * feat: improve ` check-unused-l10n ` command, ignore private members and cover supertype member calls.
58* feat: add new command flag ` --no-congratulate ` .
69* feat: add ` --version ` flag to print current version of the package.
7- * feat: improve ` check-unused-files ` and ` check-unused-code ` commands, add support for flutter internal entry functions.
8- * fix: make ` check-unused-l10n ` also cover supertype member calls.
10+ * feat: support Flutter internal entry functions for ` check-unused-files ` and ` check-unused-code ` .
911* fix: cyclomatic complexity calculation for functions with internal lambdas.
12+ * fix: ignore private variables in ` avoid-global-state ` rule.
1013* chore: restrict ` analyzer ` version to ` >=2.4.0 <3.3.0 ` .
11- * feat: support monorepos for ` check-unused-code ` command.
1214
1315## 4.10.0-dev.2
1416
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ To set this up:
8989 ```yaml
9090 name: dart_code_metrics_plugin_loader
9191 description: This pubspec determines the version of the analyzer plugin to load.
92- version: 4.10.0-dev.2
92+ version: 4.10.0
9393
9494 environment:
9595 sdk: ">=2.14.0 <3.0.0"
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ add it manually to `pubspec.yaml`
5959
6060``` yaml
6161dev_dependencies :
62- dart_code_metrics : ^4.10.0-dev.2
62+ dart_code_metrics : ^4.10.0
6363` ` `
6464
6565and then run
Original file line number Diff line number Diff line change 1- const packageVersion = '4.10.0-dev.2 ' ;
1+ const packageVersion = '4.10.0' ;
Original file line number Diff line number Diff line change 11name : dart_code_metrics
2- version : 4.10.0-dev.2
2+ version : 4.10.0
33description : Software analytics tool that helps developers analyse and improve software quality.
44homepage : https://dartcodemetrics.dev
55repository : https://github.com/dart-code-checker/dart-code-metrics
Original file line number Diff line number Diff line change 11name : dart_code_metrics_plugin_loader
22description : This pubspec determines the version of the analyzer plugin to load.
3- version : 4.10.0-dev.2
3+ version : 4.10.0
44
55environment :
66 sdk : " >=2.14.0 <3.0.0"
77
88dependencies :
9- dart_code_metrics : ^4.10.0-dev.2
9+ dart_code_metrics : ^4.10.0
1010
1111dev_dependencies :
1212 lints : ^1.0.1
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ Usage: metrics analyze [arguments...] <directories>
4343 (defaults to "{/**.g.dart,/**.template.dart}")
4444
4545
46+ --no-congratulate Don't show output even when there are no issues.
47+
48+
4649 --set-exit-on-violation-level=<warning> Set exit code 2 if code violations
4750 have the same or higher level
4851 [none, warning, alarm]
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ Usage: metrics check-unused-files [arguments...] <directories>
2929 (defaults to "{/**.g.dart,/**.template.dart}")
3030
3131
32+ --no-congratulate Don't show output even when there are no issues.
33+
34+
3235 --[no-]fatal-unused Treat find unused file as fatal.
3336
3437-d, --[no-]delete-files Delete all unused files.
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ Usage: metrics check-unused-l10n [arguments] <directories>
5454 (defaults to "{/**.g.dart,/**.template.dart}")
5555
5656
57+ --no-congratulate Don't show output even when there are no issues.
58+
59+
5760 --[no-]fatal-unused Treat find unused l10n as fatal.
5861```
5962
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ environment:
2323 sdk : ' >=2.12.0 <3.0.0'
2424
2525dev_dependencies :
26- dart_code_metrics : ^4.10.0-dev.2
26+ dart_code_metrics : ^4.10.0
2727` ` `
2828
2929and then run
You can’t perform that action at this time.
0 commit comments