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 1
1
# Changelog
2
2
3
- ## Unreleased
3
+ ## 4.10.0
4
4
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.
5
8
* feat: add new command flag ` --no-congratulate ` .
6
9
* 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 ` .
9
11
* fix: cyclomatic complexity calculation for functions with internal lambdas.
12
+ * fix: ignore private variables in ` avoid-global-state ` rule.
10
13
* chore: restrict ` analyzer ` version to ` >=2.4.0 <3.3.0 ` .
11
- * feat: support monorepos for ` check-unused-code ` command.
12
14
13
15
## 4.10.0-dev.2
14
16
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ To set this up:
89
89
```yaml
90
90
name: dart_code_metrics_plugin_loader
91
91
description: This pubspec determines the version of the analyzer plugin to load.
92
- version: 4.10.0-dev.2
92
+ version: 4.10.0
93
93
94
94
environment:
95
95
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`
59
59
60
60
``` yaml
61
61
dev_dependencies :
62
- dart_code_metrics : ^4.10.0-dev.2
62
+ dart_code_metrics : ^4.10.0
63
63
` ` `
64
64
65
65
and 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 1
1
name : dart_code_metrics
2
- version : 4.10.0-dev.2
2
+ version : 4.10.0
3
3
description : Software analytics tool that helps developers analyse and improve software quality.
4
4
homepage : https://dartcodemetrics.dev
5
5
repository : https://github.com/dart-code-checker/dart-code-metrics
Original file line number Diff line number Diff line change 1
1
name : dart_code_metrics_plugin_loader
2
2
description : This pubspec determines the version of the analyzer plugin to load.
3
- version : 4.10.0-dev.2
3
+ version : 4.10.0
4
4
5
5
environment :
6
6
sdk : " >=2.14.0 <3.0.0"
7
7
8
8
dependencies :
9
- dart_code_metrics : ^4.10.0-dev.2
9
+ dart_code_metrics : ^4.10.0
10
10
11
11
dev_dependencies :
12
12
lints : ^1.0.1
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ Usage: metrics analyze [arguments...] <directories>
43
43
(defaults to "{/**.g.dart,/**.template.dart}")
44
44
45
45
46
+ --no-congratulate Don't show output even when there are no issues.
47
+
48
+
46
49
--set-exit-on-violation-level=<warning> Set exit code 2 if code violations
47
50
have the same or higher level
48
51
[none, warning, alarm]
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ Usage: metrics check-unused-files [arguments...] <directories>
29
29
(defaults to "{/**.g.dart,/**.template.dart}")
30
30
31
31
32
+ --no-congratulate Don't show output even when there are no issues.
33
+
34
+
32
35
--[no-]fatal-unused Treat find unused file as fatal.
33
36
34
37
-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>
54
54
(defaults to "{/**.g.dart,/**.template.dart}")
55
55
56
56
57
+ --no-congratulate Don't show output even when there are no issues.
58
+
59
+
57
60
--[no-]fatal-unused Treat find unused l10n as fatal.
58
61
```
59
62
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ environment:
23
23
sdk : ' >=2.12.0 <3.0.0'
24
24
25
25
dev_dependencies :
26
- dart_code_metrics : ^4.10.0-dev.2
26
+ dart_code_metrics : ^4.10.0
27
27
` ` `
28
28
29
29
and then run
You can’t perform that action at this time.
0 commit comments