dart_pre_commit 2.3.3 dart_pre_commit: ^2.3.3 copied to clipboard
A small collection of pre commit hooks to format and lint dart code
We analyzed this package 12 hours ago, and awarded it 110 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
167 out of 173 API elements (96.5 %) have documentation comments.
Some symbols that are missing documentation: dart_pre_commit
, dart_pre_commit.HooksConfig.copyWith
, dart_pre_commit.HooksProviderInternal.ansiSupported
, dart_pre_commit.HooksProviderInternal.loggerProvider
, dart_pre_commit.RepoEntry.copyWith
.
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/src/util/program_runner.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/hooks_provider.freezed.dart:321:17
╷
321 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/hooks_provider.freezed.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/repo_entry.freezed.dart:133:17
╷
133 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/repo_entry.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
^2.3.0 |
2.5.0 | 2.5.0 |
console |
^4.1.0 |
4.1.0 | 4.1.0 |
convert |
^3.0.1 |
3.1.1 | 3.1.1 |
crypto |
^3.0.1 |
3.0.3 | 3.0.3 |
freezed_annotation |
^1.0.0 |
1.1.0 | 2.4.1 |
json_annotation |
^4.4.0 |
4.9.0 | 4.9.0 |
meta |
^1.7.0 |
1.15.0 | 1.15.0 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
pub_semver |
^2.1.0 |
2.1.4 | 2.1.4 |
riverpod |
^1.0.1 |
1.0.3+1 | 2.5.1 |
yaml |
^3.1.0 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
source_span |
- | 1.10.0 | 1.10.0 |
state_notifier |
- | 0.7.2+1 | 1.0.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on freezed_annotation does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
to update the constraint.
The constraint `^1.0.1` on riverpod does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions riverpod
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.