supernova_lints 0.0.6 copy "supernova_lints: ^0.0.6" to clipboard
supernova_lints: ^0.0.6 copied to clipboard

Custom lints rules used in Supernova.

4
likes
120/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

0 out of 0 API elements (100.0 %) have documentation comments.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Linux

  • ✓ macOS

  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:supernova_lints/src/custom_lint_runner.dart that imports:
  • package:supernova_lints/src/rules/prefer_double_quotes_except_directives.dart that imports:
  • package:supernova_lints/src/rules/lint_rule.dart that imports:
  • package:supernova_lints/src/lint_violation_reporter.dart that imports:
  • package:custom_lint_builder/custom_lint_builder.dart that imports:
  • package:custom_lint_builder/src/public_protocol.dart that imports:
  • package:custom_lint/src/protocol/public_protocol.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/task/api/model.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/generated/parser.dart that imports:
  • package:analyzer/src/fasta/ast_builder.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

/tmp/pana_LPKJAO/lib/src/rules/lint_rule.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_LPKJAO/lib/src/rules/missing_this.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^4.0.0 4.7.0 7.0.0
analyzer_plugin ^0.10.0 0.10.0 0.11.3
custom_lint ^0.0.12 0.0.14 0.7.0
custom_lint_builder ^0.0.12 0.0.14 0.7.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 47.0.0 77.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
checked_yaml - 2.0.3 2.0.3
ci - 0.1.0 0.1.0
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.2.4 2.3.7
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
hotreloader - 3.0.6 4.2.0
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
recase - 4.1.0 4.1.0
riverpod - 2.6.1 2.6.1
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
state_notifier - 1.0.0 1.0.0
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vm_service - 11.10.0 14.3.1
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

Found 4 issues. Showing the first 2:

The constraint `^4.0.0` on analyzer does not support the stable version `5.0.0`.

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

The constraint `^0.10.0` on analyzer_plugin does not support the stable version `0.11.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

4
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Custom lints rules used in Supernova.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, custom_lint, custom_lint_builder

More

Packages that depend on supernova_lints