dart_pre_commit 4.1.0 dart_pre_commit: ^4.1.0 copied to clipboard
A small collection of pre commit hooks to format and lint dart code
We analyzed this package 41 hours ago, and awarded it 75 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:45:14
╷
45 │ <p><small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
125 out of 131 API elements (95.4 %) have documentation comments.
Some symbols that are missing documentation: dart_pre_commit
, dart_pre_commit.HooksConfig.copyWith
, dart_pre_commit.RepoEntry.copyWith
, hooks
, logging
.
10/10 points: Package has 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:dart_pre_commit/dart_pre_commit.dart
that imports:package:dart_pre_commit/tasks.dart
that imports:package:dart_pre_commit/src/tasks/test_import_task.dart
that imports:package:dart_pre_commit/src/tasks/provider/task_provider.dart
that imports:package:dart_pre_commit/src/task_base.dart
that imports:package:dart_pre_commit/src/repo_entry.dart
that imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 76 issues. Showing the first 2:
ERROR: Missing concrete implementation of 'getter Logger.onLevelChanged'.
lib/src/util/logging/logging_wrapper.dart:38:7
╷
38 │ class LoggingWrapper implements logging.Logger {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/util/logging/logging_wrapper.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/config/pubspec_config_loader.freezed.dart:122:17
╷
122 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/config/pubspec_config_loader.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer |
^5.6.0 |
5.13.0 | 6.5.0 |
args |
^2.4.0 |
2.5.0 | 2.5.0 |
checked_yaml |
^2.0.2 |
2.0.3 | 2.0.3 |
console |
^4.1.0 |
4.1.0 | 4.1.0 |
convert |
^3.1.1 |
3.1.1 | 3.1.1 |
crypto |
^3.0.2 |
3.0.3 | 3.0.3 |
dart_test_tools |
^4.8.0 |
4.9.0 | 5.10.1 |
freezed_annotation |
^2.2.0 |
2.4.1 | 2.4.1 |
json_annotation |
^4.8.0 |
4.9.0 | 4.9.0 |
logging |
^1.1.1 |
1.2.0 | 1.2.0 |
meta |
^1.8.0 |
1.15.0 | 1.15.0 |
path |
^1.8.2 |
1.9.0 | 1.9.0 |
pub_semver |
^2.1.3 |
2.1.4 | 2.1.4 |
pubspec_parse |
^1.2.1 |
1.2.3 | 1.2.3 |
riverpod |
^2.2.0 |
2.5.1 | 2.5.1 |
yaml |
^3.1.1 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 61.0.0 | 68.0.0 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
change |
- | 0.6.0 | 0.7.3 |
cider |
- | 0.1.6 | 0.2.7 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
coverage |
- | 1.8.0 | 1.8.0 |
dotenv |
- | 4.2.0 | 4.2.0 |
file |
- | 7.0.0 | 7.0.0 |
frontend_server_client |
- | 4.0.0 | 4.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
http_multi_server |
- | 3.2.1 | 3.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
intl |
- | 0.19.0 | 0.19.0 |
io |
- | 1.0.4 | 1.0.4 |
js |
- | 0.7.1 | 0.7.1 |
klizma |
- | 0.2.1 | 0.2.1 |
lint |
- | 2.3.0 | 2.3.0 |
markdown |
- | 7.2.2 | 7.2.2 |
marker |
- | 0.5.1 | 0.6.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
mime |
- | 1.0.5 | 1.0.5 |
mocktail |
- | 0.3.0 | 1.0.3 |
node_preamble |
- | 2.0.2 | 2.0.2 |
package_config |
- | 2.1.0 | 2.1.0 |
pool |
- | 1.5.1 | 1.5.1 |
rfc_6901 |
- | 0.1.1 | 0.2.0 |
shelf |
- | 1.4.1 | 1.4.1 |
shelf_packages_handler |
- | 3.0.2 | 3.0.2 |
shelf_static |
- | 1.1.2 | 1.1.2 |
shelf_web_socket |
- | 2.0.0 | 2.0.0 |
source_map_stack_trace |
- | 2.1.1 | 2.1.1 |
source_maps |
- | 0.10.12 | 0.10.12 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
state_notifier |
- | 1.0.0 | 1.0.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test |
- | 1.25.5 | 1.25.5 |
test_api |
- | 0.7.1 | 0.7.1 |
test_core |
- | 0.6.2 | 0.6.2 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
version_manipulation |
- | 0.1.2 | 0.2.0 |
vm_service |
- | 14.2.2 | 14.2.2 |
watcher |
- | 1.1.0 | 1.1.0 |
web |
- | 0.5.1 | 0.5.1 |
web_socket |
- | 0.1.3 | 0.1.3 |
web_socket_channel |
- | 3.0.0 | 3.0.0 |
webkit_inspection_protocol |
- | 1.2.1 | 1.2.1 |
yaml_writer |
- | 1.0.3 | 2.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.6.0` on analyzer does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions analyzer
to update the constraint.
The constraint `^4.8.0` on dart_test_tools does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dart_test_tools
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.