Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

chore: update site #585

Merged
merged 1 commit into from
Dec 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

* chore: migrate from deprecated api
* fix: fixed issue with type check in prefer-match-file-name
* fix: returns 0 exit code while found unused files or l10n in cli mode

## 4.8.1

* feat: add cli options for fatal exit if unused files or l10n are found

## 4.8.0

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To set this up:
```yaml
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.8.0
version: 4.8.1

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add it manually to `pubspec.yaml`

```yaml
dev_dependencies:
dart_code_metrics: ^4.8.0
dart_code_metrics: ^4.8.1
```

and then run
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dart_code_metrics
version: 4.8.0
version: 4.8.1
description: Software analytics tool that helps developers analyse and improve software quality.
homepage: https://dartcodemetrics.dev
repository: https://github.com/dart-code-checker/dart-code-metrics
Expand Down
4 changes: 2 additions & 2 deletions tools/analyzer_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.8.0
version: 4.8.1

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
dart_code_metrics: ^4.8.0
dart_code_metrics: ^4.8.1

dev_dependencies:
lints: ^1.0.1
3 changes: 3 additions & 0 deletions website/docs/cli/check-unused-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ Usage: metrics check-unused-files [arguments...] <directories>
Should be provided only when you run the application as compiled executable(https://dart.dev/tools/dart-compile#exe) and automatic Dart SDK path detection fails.
--exclude=<{/**.g.dart,/**.template.dart}> File paths in Glob syntax to be exclude.
(defaults to "{/**.g.dart,/**.template.dart}")


--[no-]fatal-unused Treat find unused file as fatal.
```

## Output example {#output-example}
Expand Down
2 changes: 2 additions & 0 deletions website/docs/cli/check-unused-l10n.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Usage: metrics check-unused-l10n [arguments] <directories>
--exclude=<{/**.g.dart,/**.template.dart}> File paths in Glob syntax to be exclude.
(defaults to "{/**.g.dart,/**.template.dart}")


--[no-]fatal-unused Treat find unused l10n as fatal.
```

## Output example {#output-example}
Expand Down