lexpro 2.1.1
lexpro: ^2.1.1 copied to clipboard
Dart lexer for various programming languages base on lex v0.0.1 originally published by thlorenz10@gmail.com edit by jackyanjiaqi@gmail.com
We analyzed this package 5 days ago, and awarded it 80 pub points (of a possible 130):
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: Package has an example
0/10 points: 20% or more of the public API has dartdoc comments
- 36 out of 682 API elements (5.3 %) 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.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 63 issues. Showing the first 2:
INFO: The import of 'package:lexpro/base/parser.dart' is unnecessary because all of the used elements are also provided by the import of 'package:lexpro/base/lexer.dart'.
lib/base/event.dart:2:8
╷
2 │ import 'package:lexpro/base/parser.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/base/event.dart
INFO: This function has a return type of 'bool', but doesn't end with a return statement.
lib/base/event.dart:40:8
╷
40 │ bool onCondition(String eventFlag) {}
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/base/event.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
equatable | ^1.2.5 | 1.2.6 | 2.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection | - | 1.16.0 | 1.16.0 |
meta | - | 1.8.0 | 1.8.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.2.5` on equatable does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions equatable
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.10.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.13
, Dart 2.17.5
.