l10n_lint 0.6.0 copy "l10n_lint: ^0.6.0" to clipboard
l10n_lint: ^0.6.0 copied to clipboard

flutter l10n lint check if localization is initialized correctly and find string literal

50/ 160
pub points
1.02k
downloads

We analyzed this package 2 days ago, and awarded it 50 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/masreplay/l10n_lint was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart pub outdated failed with the following output:
Because macros >=0.1.2-main.4 <0.1.3-main.0 depends on _macros 0.3.2 from sdk and macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros 0.3.1 from sdk, macros >=0.1.2-main.2 <0.1.3-main.0 requires _macros 0.3.1 or 0.3.2 from sdk.
And because analyzer >=6.6.0 <6.9.0 depends on macros >=0.1.2-main.3 <0.1.3 and custom_lint_core >=0.7.0 <0.7.1 depends on analyzer ^6.7.0, custom_lint_core >=0.7.0 <0.7.1 requires _macros 0.3.1 or 0.3.2 from sdk or analyzer ^6.9.0.
Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

  • Could not run dart pub outdated: dart pub get failed:
OUT:
Resolving dependencies...
ERR:
Because macros >=0.1.2-main.4 <0.1.3-main.0 depends on _macros 0.3.2 from sdk and macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros 0.3.1 from sdk, macros >=0.1.2-main.2 <0.1.3-main.0 requir[...]
And because analyzer >=6.6.0 <6.9.0 depends on macros >=0.1.2-main.3 <0.1.3 and custom_lint_core >=0.7.0 <0.7.1 depends on analyzer ^6.7.0, custom_lint_core >=0.7.0 <0.7.1 requires _macros 0.3.1 [...]
And because custom_lint_core ^0.7.1 depends on analyzer ^7.0.0 and analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4, custom_lint_core ^0.7.0 requires _macros 0.3.1 or 0.3.2 from sd[...]
And because macros >=0.1.3-main.0 depends on _macros from sdk which doesn't exist (could not find package _macros in the Dart SDK), custom_lint_core ^0.7.0 requires analyzer ^7.3.0.
So, because l10n_lint depends on both analyzer ^6.4.1 and custom_lint_core ^0.7.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on analyzer: dart pub add analyzer:^7.6.0

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
Because custom_lint_core ^0.7.1 depends on analyzer ^7.0.0 and custom_lint_core >=0.7.0 <0.7.1 depends on analyzer ^6.7.0, custom_lint_core ^0.7.0 requires analyzer ^6.7.0 or ^7.0.0.
And because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, custom_lint_core ^0.7.0 requires analyzer >=6.7.0 <6.9.0-∞ or >=7.3.0 <8.0.0 o[...]
And because analyzer >=6.6.0 <6.9.0 depends on macros >=0.1.2-main.3 <0.1.3 and macros >=0.1.2-main.4 <0.1.3-main.0 depends on _macros 0.3.2 from sdk, custom_lint_core ^0.7.0 requires _macros 0.3[...]
And because macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros from sdk which doesn't exist (could not find package _macros in the Dart SDK), custom_lint_core ^0.7.0 requires analyzer ^7.3.0.
So, because l10n_lint depends on both analyzer ^6.4.1 and custom_lint_core ^0.7.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on analyzer: dart pub add analyzer:^7.3.0

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.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
50
points
1.02k
downloads

Publisher

verified publishermatheer.com

Weekly Downloads

flutter l10n lint check if localization is initialized correctly and find string literal

Repository (GitHub)

License

MIT (license)

Dependencies

analyzer, args, custom_lint_builder, custom_lint_core, file, glob, meta, path, pubspec_parse, yaml

More

Packages that depend on l10n_lint