commit_lint 0.2.0
commit_lint: ^0.2.0 copied to clipboard
Static analysis for commit messages
We analyzed this package 24 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
14 out of 17 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: commit_lint
, commit_lint.CliRunner
, commit_lint.CliRunner.CliRunner.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:commit_lint/commit_lint.dart
that imports:package:commit_lint/src/cli_runner.dart
that imports:package:commit_lint/src/commands/lint.dart
that imports:package:commit_lint/src/utils/git_utils.dart
that imports:package:process_run/cmd_run.dart
that imports:package:process_run/src/flutterbin_cmd.dart
that imports:package:process_run/shell_run.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/dartbin_impl.dart
that imports:package:process_run/src/user_config.dart
that imports:package:process_run/src/shell_utils.dart
that imports:package:process_run/src/shell_utils_common.dart
that imports:package:process_run/src/platform/platform.dart
that imports:package:process_run/src/platform/platform_stub.dart
that imports:package:process_run/src/shell_context_common.dart
that imports:package:process_run/src/shell_common.dart
that imports:package:process_run/src/io/io_import.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:commit_lint/commit_lint.dart
that imports:package:commit_lint/src/cli_runner.dart
that imports:package:commit_lint/src/commands/lint.dart
that imports:package:commit_lint/src/utils/git_utils.dart
that imports:package:process_run/cmd_run.dart
that imports:package:process_run/src/flutterbin_cmd.dart
that imports:package:process_run/shell_run.dart
that imports:package:process_run/shell.dart
that imports:package:process_run/utils/process_result_extension.dart
that imports:package:process_run/src/lines_utils.dart
that imports:package:process_run/src/lines_utils_common.dart
that imports:package:process_run/src/common/import.dart
that imports:package:process_run/src/common/dartbin.dart
that imports:package:process_run/src/dartbin_impl.dart
that imports:package:process_run/src/user_config.dart
that imports:package:process_run/src/shell_utils.dart
that imports:package:process_run/src/shell_utils_common.dart
that imports:package:process_run/src/platform/platform.dart
that imports:package:process_run/src/platform/platform_stub.dart
that imports:package:process_run/src/shell_context_common.dart
that imports:package:process_run/src/shell_common.dart
that imports:package:process_run/src/io/io_import.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/commands/lint.dart:87:10
╷
87 │ .whereNotNull()
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/commands/lint.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
^2.0.0 |
2.7.0 | 2.7.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
conventional_commit |
^0.4.0 |
0.4.3+1 | 0.6.1+1 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
process_run |
^0.12.1 |
0.12.5+3 | 1.2.4 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
charcode |
- | 1.4.0 | 1.4.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.4.0` on conventional_commit does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions conventional_commit
to update the constraint.
The constraint `^0.12.1` on process_run does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions process_run
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.