Viewing version 0.0.6. Open the latest package page.

custom_lint_builder

0.0.6

A package to help writing custom linters

Download archive

Readme

About

custom_lint_builder is a package that should be associated with custom_lint for defining lint rules.

See custom_lint for more informations


Changelog

0.0.6

feat!: getLints now is expected to return a Stream<Lint> instead of Iterable<Lint>

fix: a bug where the lints shown by the IDE could get out of sync with the actual content of the file

0.0.4

  • Fixed a bug where the command line could show IDE-only meant for debugging

0.0.3

PluginBase.getLints now receive a ResolvedUnitResult instead of a LibraryElement.

0.0.2

  • Compilation errors are now visible within the pubspec.yaml of applications that are using the plugin.

  • Plugins that are currently loading are now highlighted inside the pubspec.yaml of applications that are using the plugin.

  • If a plugin throws when trying to analyze a Dart file, the IDE will now show the exception at the top of the analyzed file.

  • Compilation errors, exceptions and prints are now accessible within a log file (custom_lint.log) inside applications using the plugin.

0.0.1

Initial release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'custom_lint_builder:0.0.6'
pubspec.yaml
name: custom_lint_builder
version: 0.0.6
description: A package to help writing custom linters
repository: https://github.com/invertase/dart_custom_lint

environment:
  sdk: ">=2.17.1 <3.0.0"

dependencies:
  analyzer: ^4.0.0
  analyzer_plugin: ^0.10.0
  collection: ^1.16.0
  # Using tight constraints as custom_lint_builder communicate with each-other
  # using a specific contract
  custom_lint: 0.0.6
  meta: ^1.7.0
  package_config: ^2.0.2
  path: ^1.8.0
  pub_semver: ^2.1.1
  pubspec_parse: ^1.2.0
  recase: ^4.0.0
  source_span: ^1.8.0
  stack_trace: ^1.10.0
 

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownload64d54fb0…953311
0.0.2Cached · Upstream SHA-256 matchedDownloadc8825857…3684c1
0.0.3Cached · Upstream SHA-256 matchedDownloaddcb08297…701784
0.0.4Cached · Upstream SHA-256 matchedDownload67f56de3…581047
0.0.5Cached · Upstream SHA-256 matchedDownload7203c87e…d578a1
0.0.6Cached · Upstream SHA-256 matchedDownloadc4ddf5b1…5ae104
0.0.7Cached · Upstream SHA-256 matchedDownload0f968009…667048
0.0.8Cached · Upstream SHA-256 matchedDownload4852f747…c99fe1
0.0.9Cached · Upstream SHA-256 matchedDownload2bd64739…4938c5
0.0.9+1Cached · Upstream SHA-256 matchedDownload887618e7…0932f8
0.0.10Cached · Upstream SHA-256 matchedDownloadf12a483d…32eb39
0.0.11Cached · Upstream SHA-256 matchedDownloadec395792…b02412
0.0.12Cached · Upstream SHA-256 matchedDownload1d3ea795…60d5ac
0.0.13Cached · Upstream SHA-256 matchedDownloade0b39192…2c8674
0.0.14Cached · Upstream SHA-256 matchedDownloadeb212f06…5acc9e
0.0.15Cached · Upstream SHA-256 matchedDownload421d3571…21b1cd
0.0.16Cached · Upstream SHA-256 matchedDownload77b1c2d8…338152
0.1.0Cached · Upstream SHA-256 matchedDownloadf23d1643…d39bae
0.1.1Cached · Upstream SHA-256 matchedDownload97178028…1c70da
0.1.2-devCached · Upstream SHA-256 matchedDownloadd9e54b58…8bec0d
0.2.0Cached · Upstream SHA-256 matchedDownload2d80e767…2b1e01
0.2.1Cached · Upstream SHA-256 matchedDownload3846bcce…b98385
0.2.2Cached · Upstream SHA-256 matchedDownload2256407c…110dbc
0.2.3Cached · Upstream SHA-256 matchedDownload682de21d…2c4296
0.2.4Cached · Upstream SHA-256 matchedDownload8707b878…39165b
0.2.5Cached · Upstream SHA-256 matchedDownload4d441fa4…bbb8c1
0.2.6Cached · Upstream SHA-256 matchedDownload7ce7b01b…7ae485
0.2.7Cached · Upstream SHA-256 matchedDownload2bf40337…79fb23
0.2.8Cached · Upstream SHA-256 matchedDownloadd8466a8c…cd59e2
0.2.9Cached · Upstream SHA-256 matchedDownload8a863ca3…ccd834
0.2.10Cached · Upstream SHA-256 matchedDownloadb58a4d9a…caa8bf
0.2.11Cached · Upstream SHA-256 matchedDownload0b245895…3d7780
0.2.12Cached · Upstream SHA-256 matchedDownload4f4d640f…51a61c
0.3.1Cached · Upstream SHA-256 matchedDownload5f4f144b…6d1f99
0.3.2Cached · Upstream SHA-256 matchedDownload5d472a90…3ffee4
0.3.3Cached · Upstream SHA-256 matchedDownload0f77cd46…7d1916
0.3.4Cached · Upstream SHA-256 matchedDownload6b5e20a2…deec9f
0.4.0Cached · Upstream SHA-256 matchedDownload73d09c98…0b6d06
0.5.0Cached · Upstream SHA-256 matchedDownloadf1430048…4143bf
0.5.1-devCached · Upstream SHA-256 matchedDownload6038e46d…59a6d0
0.5.1Cached · Upstream SHA-256 matchedDownloadbe0e44c2…d6b78a
0.5.2Cached · Upstream SHA-256 matchedDownloadfe5ba0da…f6afe1
0.5.3Cached · Upstream SHA-256 matchedDownload3537d502…f2be72
0.5.4Cached · Upstream SHA-256 matchedDownloadb3f3a36a…5f3cd9
0.5.5Cached · Upstream SHA-256 matchedDownloadcdaa0174…b0d043
0.5.6Cached · Upstream SHA-256 matchedDownloadc6f656a4…a97883
0.5.7Cached · Upstream SHA-256 matchedDownloaddfcfa987…9d6418
0.5.8Cached · Upstream SHA-256 matchedDownload8df6634b…c6288d
0.5.9Cached · Upstream SHA-256 matchedDownload6e23ca15…732ec1
0.5.10Cached · Upstream SHA-256 matchedDownloadbadc07d7…ee8410
0.5.11Cached · Upstream SHA-256 matchedDownload7d0b0942…73d5fc
0.5.12Cached · Upstream SHA-256 matchedDownloadc6c13c7a…cfe1f2
0.5.13Cached · Upstream SHA-256 matchedDownload119b5bff…41dc1f
0.5.14Cached · Upstream SHA-256 matchedDownload0d48e002…cf3b19
0.6.0Cached · Upstream SHA-256 matchedDownload9cdd9987…c4baef
0.6.1Cached · Upstream SHA-256 matchedDownload3a14687f…ff1d54
0.6.2Cached · Upstream SHA-256 matchedDownload4c0aed2a…5bbbd6
0.6.3Cached · Upstream SHA-256 matchedDownload1ec64c9b…b30337
0.6.4Cached · Upstream SHA-256 matchedDownloadd7dc41e7…7615a9
0.6.5Cached · Upstream SHA-256 matchedDownloadd9e5bb63…1621b3
0.6.6Cached · Upstream SHA-256 matchedDownload534cbf2f…bfc864
0.6.7Cached · Upstream SHA-256 matchedDownloadba2f90ff…a40a21
0.6.8Cached · Upstream SHA-256 matchedDownloadc3d82779…bd50ac
0.6.9Cached · Upstream SHA-256 matchedDownload515d42d6…1c486a
0.6.10Cached · Upstream SHA-256 matchedDownload5a95eff1…511d78
0.7.0Cached · Upstream SHA-256 matchedDownload42cdc419…234759
0.7.1Cached · Upstream SHA-256 matchedDownload8cc525c7…2835fe
0.7.2Cached · Upstream SHA-256 matchedDownloade2694113…309d3b
0.7.3Cached · Upstream SHA-256 matchedDownloade4235b9d…6df32d
0.7.4Cached · Upstream SHA-256 matchedDownload009b4b69…42eb7b
0.7.5Cached · Upstream SHA-256 matchedDownload107e0a43…a4c228
0.7.6Cached · Upstream SHA-256 matchedDownload6cdc8e87…655414
0.7.7Cached · Upstream SHA-256 matchedDownload638891a5…7fcf24
0.8.0Cached · Upstream SHA-256 matchedDownloadcc5532d5…5c9e52
0.8.1Cached · Upstream SHA-256 matchedDownload1128db6f…a32072

Dependencies

analyzer "^4.0.0"

analyzer_plugin "^0.10.0"

collection "^1.16.0"

custom_lint "0.0.6"

meta "^1.7.0"

package_config "^2.0.2"

path "^1.8.0"

pub_semver "^2.1.1"

pubspec_parse "^1.2.0"

recase "^4.0.0"

source_span "^1.8.0"

stack_trace "^1.10.0"