nilts 0.12.1 copy "nilts: ^0.12.1" to clipboard
nilts: ^0.12.1 copied to clipboard

nilts is lint rules, quick fixes and assists for Dart and Flutter projects that helps you enforce best practices, and avoid errors.

4
likes
150/ 160
pub points
44%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

1 out of 2 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: nilts.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:nilts/nilts.dart that imports:
  • package:nilts/src/lints/unnecessary_rebuilds_from_media_query.dart that imports:
  • package:nilts/src/utils/library_element_ext.dart that imports:
  • package:analyzer/dart/element/element.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:macros/src/executor/process_executor.dart that imports:
  • package:_macros/src/executor/process_executor.dart that imports:
  • package:_macros/src/executor/executor_base.dart that imports:
  • dart:isolate
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

INFO: 'reportErrorForNode' is deprecated and shouldn't be used. Use atNode() instead.

lib/src/lints/defined_value_callback_type.dart:140:16

    ╷
140 │       reporter.reportErrorForNode(_lintCode, node);
    │                ^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'reportErrorForNode' is deprecated and shouldn't be used. Use atNode() instead.

lib/src/lints/defined_value_getter_type.dart:65:16

   ╷
65 │       reporter.reportErrorForNode(_code, node);
   │                ^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
analyzer >=5.12.0 <7.0.0 6.5.0 6.5.2
analyzer_plugin ^0.11.2 0.11.3 0.11.3
custom_lint_builder ^0.6.0 0.6.4 0.6.4
meta ^1.9.1 1.15.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 68.0.0 70.0.0
_macros - 0.1.0 0.1.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
checked_yaml - 2.0.3 2.0.3
ci - 0.1.0 0.1.0
cli_util - 0.4.1 0.4.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
custom_lint - 0.6.4 0.6.4
custom_lint_core - 0.6.3 0.6.3
dart_style - 2.3.6 2.3.6
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
freezed_annotation - 2.4.1 2.4.1
glob - 2.1.2 2.1.2
hotreloader - 4.2.0 4.2.0
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
macros - 0.1.0-main.0 0.1.2-main.0
matcher - 0.12.16+1 0.12.16+1
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
rxdart - 0.27.7 0.27.7
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.2
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vm_service - 14.2.3 14.2.3
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.

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.5, Dart 3.4.1.

Check the analysis log for details.

4
likes
150
pub points
44%
popularity

Publisher

verified publisherronnnnn.com

nilts is lint rules, quick fixes and assists for Dart and Flutter projects that helps you enforce best practices, and avoid errors.

Repository (GitHub)
View/report issues
Contributing

Topics

#lints #lint #analysis #code-style #tools

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, analyzer_plugin, custom_lint_builder, meta

More

Packages that depend on nilts