linting 1.5.0 copy "linting: ^1.5.0" to clipboard
linting: ^1.5.0 copied to clipboard

discontinued

linting is a framework for creating custom linters using the analyzer_plugin and cli.

60/ 160
pub points
22
downloads

We analyzed this package 39 hours ago, and awarded it 60 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

87 out of 200 API elements (43.5 %) have documentation comments.

Some symbols that are missing documentation: analyzer_plugin, analyzer_plugin.AnalyzeCommand, analyzer_plugin.AnalyzeCommand.AnalyzeCommand.new, analyzer_plugin.AnalyzeCommand.runCommand, analyzer_plugin.AnalyzeCommandContext.

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: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

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

Found 6 issues. Showing the first 2:

ERROR: Missing concrete implementation of 'ServerPlugin.analyzeFile'.

lib/src/analyzer_plugin/analyzer_plugin.dart:17:7

   ╷
17 │ class LintingAnalyzerPlugin extends ServerPlugin {
   │       ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/analyzer_plugin/analyzer_plugin.dart

ERROR: The named parameter 'resourceProvider' is required, but there's no corresponding argument.

lib/src/analyzer_plugin/analyzer_plugin.dart:42:8

   ╷
42 │   }) : super(PhysicalResourceProvider.INSTANCE);
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/analyzer_plugin/analyzer_plugin.dart

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

Package Constraint Compatible Latest Notes
analyzer >=2.7.0 <6.0.0 5.13.0 10.1.0
analyzer_plugin >=0.8.0 <1.0.0 0.11.2 0.14.3
args ^2.3.0 2.7.0 2.7.0
glob ^2.0.2 2.1.3 2.1.3
path ^1.8.0 1.9.1 1.9.1
source_span ^1.8.1 1.10.2 1.10.2
test ^1.16.8 1.25.8 1.29.0
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 61.0.0 95.0.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
cli_config - 0.2.0 0.2.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
crypto - 3.0.7 3.0.7
dart_style - 2.3.2 3.1.5
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.16+1 0.12.18
meta - 1.18.1 1.18.1
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.2.0 2.2.0
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 2.0.1 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.3 0.7.9
test_core - 0.6.5 0.6.15
typed_data - 1.4.0 1.4.0
vm_service - 14.3.1 15.0.2
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `>=2.7.0 <6.0.0` on analyzer does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

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

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

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/analyzer_plugin/analyzer_plugin.dart:76:24 - The method 'getResult' isn't defined for the type 'AnalysisDriver'.

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.

Weekly downloads

Display as:
By versions:
3
likes
60
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

linting is a framework for creating custom linters using the analyzer_plugin and cli.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, args, glob, path, source_span, test, yaml

More

Packages that depend on linting