state_beacon_lint 0.2.1
state_beacon_lint: ^0.2.1 copied to clipboard
Linting for state_beacon users, designed to prevent common mistakes and provide a better experience.
We analyzed this package 20 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
packages/state_beacon_lints/pubspec.yaml from the repository URL mismatch: expected https://github.com/jinyus/dart_beacon but got https://github.com/zupat/dart_beacon.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: state_beacon_lint, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
0/10 points: 20% or more of the public API has dartdoc comments
13 out of 200 API elements (6.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: state_beacon_lint, state_beacon_lint.AvoidValueAccessAfterAwait.AvoidValueAccessAfterAwait.new, state_beacon_lint.BeaconValueVisitor, state_beacon_lint.BeaconValueVisitor.BeaconValueVisitor.new, state_beacon_lint.BeaconValueVisitor.nodes.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:state_beacon_lint/state_beacon_lint.dartthat imports:package:state_beacon_lint/utils.dartthat imports:package:state_beacon_lint/types.dartthat imports:package:analyzer/dart/ast/ast.dartthat imports:package:analyzer/src/dart/ast/ast.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/reference.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/error/listener.dartthat imports:package:analyzer/error/error.dartthat imports:package:analyzer/src/error/error_code_values.g.dartthat imports:package:analyzer/src/generated/parser.dartthat imports:package:analyzer/src/fasta/ast_builder.dartthat imports:package:analyzer/src/dart/ast/extensions.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/dart/resolver/flow_analysis_visitor.dartthat imports:package:analyzer/src/dart/element/type_schema.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/types_builder.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/dart/analysis/session.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:analyzer/src/file_system/file_system.dartthat imports:package:analyzer/src/util/uri.dartthat imports:package:analyzer/src/summary/package_bundle_reader.dartthat imports:package:analyzer/src/generated/source.dartthat imports:package:analyzer/src/context/source.dartthat imports:package:analyzer/src/workspace/pub.dartthat imports:package:analyzer/src/workspace/workspace.dartthat imports:package:analyzer/src/workspace/blaze.dartthat imports:package:analyzer/src/workspace/blaze_watcher.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
- Failed to run
dart analyze .:
Analysis failed with unexpected output.
`An error occurred while executing an analyzer plugin: Failed to decode .dart_tool/package_config.json at /tmp/pana_HXRJKT/example. Make sure to run `pub get` first.`
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
>=5.12.0 <7.0.0 |
6.4.1 | 9.0.0 | |
analyzer_plugin |
^0.11.2 |
0.11.3 | 0.13.11 | |
custom_lint_builder |
^0.5.8 |
0.5.14 | 0.8.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 92.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
ci |
- | 0.1.0 | 0.1.0 | |
cli_util |
- | 0.4.2 | 0.4.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
custom_lint |
- | 0.5.11 | 0.8.1 | |
custom_lint_core |
- | 0.5.14 | 0.8.2 | |
dart_style |
- | 2.3.6 | 3.1.3 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
hotreloader |
- | 4.3.0 | 4.3.0 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.2.0 | 1.2.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `>=5.12.0 <7.0.0` on analyzer does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^0.11.2` on analyzer_plugin does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions analyzer_plugin to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed with:
Analysis failed with unexpected output.
An error occurred while executing an analyzer plugin: Failed to decode .dart_tool/package_config.json at /tmp/pana_HXRJKT/example. Make sure to run pub get first.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.