fantuan_flutter_lints 2.0.2
fantuan_flutter_lints: ^2.0.2 copied to clipboard
饭团 Flutter 代码规范(官方推荐的 lint 规则+自定义规则)
We analyzed this package 4 days ago, and awarded it 125 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1 out of 2 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: main.
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:fantuan_flutter_lints/main.dartthat imports:package:fantuan_flutter_lints/src/lints_plugin.dartthat imports:package:fantuan_flutter_lints/src/rules/avoid_media_query_of.dartthat imports:package:analyzer/error/error.dartthat imports:package:analyzer/src/diagnostic/diagnostic_code_values.dartthat imports:package:analyzer/src/error/codes.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/utilities/extensions/element.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/linked_element_factory.dartthat imports:package:analyzer/src/summary2/export.dartthat imports:package:analyzer/src/summary2/library_builder.dartthat imports:package:analyzer/src/summary2/types_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/variance_builder.dartthat imports:package:analyzer/src/summary2/record_type_builder.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/generated/inference_log.dartthat imports:package:analyzer/src/generated/resolver.dartthat imports:package:analyzer/src/util/ast_data_extractor.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/dart/resolver/scope.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/src/dart/analysis/analysis_options.dartthat imports:package:analyzer/src/lint/registry.dartthat imports:package:analyzer/src/analysis_rule/rule_context.dartthat imports:package:analyzer/analysis_rule/analysis_rule.dartthat imports:package:analyzer/src/lint/pub.dartthat imports:package:analyzer/source/file_source.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
altive_lints |
^2.1.0 |
2.3.0 | 4.1.0 | |
analysis_server_plugin |
^0.3.0 |
0.3.4 | 0.3.23 | |
analyzer |
^9.0.0 |
9.0.0 | 14.4.0 | |
analyzer_plugin |
^0.13.0 |
0.13.11 | 0.14.17 | |
flutter_lints |
>=6.0.0 |
6.0.0 | 6.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 92.0.0 | 108.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.3 | 3.1.13 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
lints |
- | 6.1.0 | 6.1.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.4 | 3.1.4 | |
yaml_edit |
- | 2.2.4 | 2.2.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^2.1.0` on altive_lints does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions altive_lints to update the constraint.
The constraint `^9.0.0` on analyzer does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions analyzer 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.23.19, Dart 3.13.1.
Check the analysis log for details.