cool_linter 2.5.0 icon indicating copy to clipboard operation
cool_linter: ^2.5.0 copied to clipboard

Linter for analyzing dart code by RegExp pattern. Includes built in extended rules.

14
likes
120/ 140
pub points
84%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 1 out of 2 API elements (50.0 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:cool_linter/cool_linter.dart that imports:
  • package:cool_linter/src/plugin.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 17 issues. Showing the first 2:

INFO: The annotation 'JsonKey' can only be used on fields or getters.

lib/src/cli/models/regexp_settings.dart:20:6

   ╷
20 │     @JsonKey(name: 'regexp_exclude', defaultValue: <ExcludeWord>[])
   │      ^^^^^^^
   ╵

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

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/cli/models/regexp_settings.g.dart:9:19

  ╷
9 │ _$_RegexpSettings _$$_RegexpSettingsFromJson(Map<String, dynamic> json) =>
  │                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cli/models/regexp_settings.g.dart

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer>=2.4.0 <3.4.03.3.15.1.0
analyzer_plugin>=0.8.0 <0.10.00.9.00.11.2
args^2.2.02.3.12.3.1
file^6.1.06.1.46.1.4
freezed_annotation^2.0.32.1.02.1.0
glob^2.0.12.1.02.1.0
json_annotation^4.4.04.7.04.7.0
meta^1.3.01.8.01.8.0
path^1.8.01.8.21.8.2
pub_semver^2.0.02.1.12.1.1
yaml^3.1.03.1.13.1.1
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-36.0.049.0.0
async-2.9.02.9.0
collection-1.16.01.16.0
convert-3.0.23.0.2
crypto-3.0.23.0.2
dart_style-2.2.32.2.4
package_config-2.1.02.1.0
source_span-1.9.11.9.1
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
watcher-1.0.11.0.1

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

The constraint `>=2.4.0 <3.4.0` on analyzer does not support the stable version `3.4.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.18, Dart 2.18.2.

14
likes
120
pub points
84%
popularity

Publisher

unverified uploader

Linter for analyzing dart code by RegExp pattern. Includes built in extended rules.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, analyzer_plugin, args, file, freezed_annotation, glob, json_annotation, meta, path, pub_semver, yaml

More

Packages that depend on cool_linter