essential_lints 0.1.16
essential_lints: ^0.1.16 copied to clipboard
New lint rules for Dart/Flutter projects and related fixes.
We analyzed this package 2 days ago, and awarded it 90 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.
10/10 points: 20% or more of the public API has dartdoc comments
2 out of 2 API elements (100.0 %) have documentation comments.
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: 'package:analyzer/src/generated/resolver.dart'.
lib/src/rules/variable_shadowing.dart:7:8
╷
7 │ import 'package:analyzer/src/generated/resolver.dart' // ignore: implementation_imports, not exposed api
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rules/variable_shadowing.dart
INFO: The diagnostic 'one_member_abstracts' isn't produced at this location so it doesn't need to be ignored.
lib/src/warnings/subtype_rule_mixin.dart:149:12
╷
149 │ // ignore: one_member_abstracts
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/warnings/subtype_rule_mixin.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analysis_server_plugin |
^0.3.17 |
0.3.26 | 0.3.26 | |
analyzer |
^14.0.0 |
14.7.0 | 14.7.0 | |
analyzer_plugin |
^0.14.0 |
0.14.20 | 0.14.20 | |
args |
^2.0.0 |
2.7.0 | 2.7.0 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
essential_lints_annotations |
^0.1.4 |
0.1.4 | 0.1.4 | |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.9.0 |
1.19.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 111.0.0 | 111.0.0 | |
async |
- | 2.13.1 | 2.13.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dart_style |
- | 3.1.14 | 3.1.14 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
package_config |
- | 3.0.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.
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.5.
Check the analysis log for details.