saropa_lints 5.0.0-beta.5
saropa_lints: ^5.0.0-beta.5 copied to clipboard
1727 custom lint rules with 291 quick fixes for Flutter and Dart. Static analysis for security, accessibility, and performance.
We analyzed this package 17 hours ago, and awarded it 50 pub points (of a possible 160):
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting saropa_lints... Discovering libraries... ERR: dartdoc 9.0.1 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/pana_CTSBWU/lib/src/fixes/test'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:199) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:282)
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: Target of URI doesn't exist: '../fixes/test/replace_expect_with_expect_later_fix.dart'.
lib/src/rules/test_rules.dart:8:8
╷
8 │ import '../fixes/test/replace_expect_with_expect_later_fix.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rules/test_rules.dart
ERROR: The method 'ReplaceExpectWithExpectLaterFix' isn't defined for the type 'PreferExpectLaterRule'.
lib/src/rules/test_rules.dart:481:9
╷
481 │ ReplaceExpectWithExpectLaterFix(context: context),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rules/test_rules.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analysis_server_plugin |
^0.3.0 |
0.3.3 | 0.3.9 | |
analyzer |
^8.0.0 |
8.4.0 | 10.1.0 | |
analyzer_plugin |
^0.13.0 |
0.13.10 | 0.14.3 | |
json2yaml |
^3.0.1 |
3.0.1 | 3.0.1 | |
yaml |
^3.1.3 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 95.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
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.5 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
meta |
- | 1.18.1 | 1.18.1 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
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_edit |
- | 2.2.4 | 2.2.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.0` on analyzer does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^0.13.0` on analyzer_plugin does not support the stable version `0.14.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 failed with 2 errors:
URI_DOES_NOT_EXIST-lib/src/rules/test_rules.dart:8:8- Target of URI doesn't exist: '../fixes/test/replace_expect_with_expect_later_fix.dart'.UNDEFINED_METHOD-lib/src/rules/test_rules.dart:481:9- The method 'ReplaceExpectWithExpectLaterFix' isn't defined for the type 'PreferExpectLaterRule'.
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.10, Dart 3.11.0.
Check the analysis log for details.