# custom_lint_core 0.3.3

A package to help writing custom linters




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'custom_lint_core:0.3.3'
```
Published: 2023-04-06T14:57:08.081423Z
Expected archive SHA-256: 83bf91d1e4ef2a893bd9a7cefaede25a4e93b47779f71a2fed33d9122e3f02c9

Available in cache; verification: upstream_checksum
## Direct dependencies
- analyzer: >=5.7.0 <5.11.0
- analyzer_plugin: ^0.11.0
- collection: ^1.16.0
- custom_lint: 0.3.3
- matcher: ^0.12.0
- meta: ^1.7.0
- path: ^1.8.0
- pubspec_parse: ^1.2.2
- source_span: ^1.8.0
- yaml: ^3.1.1

## Package README (untrusted upstream documentation)
<p align="center">
  <h1>custom_lint_core</h1>
  <span>An package exposing base classes for defining lint rules/fixes/assists.</span>
</p>

<p align="center">
  <a href="https://github.com/invertase/dart_custom_lint/blob/main/LICENSE">License</a>
</p>

## About

`custom_lint_core`, a variant of `custom_lint_builder` which exports lint-utilities without
causing custom_lint to consider the dependent as a lint plugin.

As opposed to `custom_lint_builder` , adding `custom_lint_core` as dependency will not flag
a package as a "custom_lint plugin".

See [custom_lint] for more informations

---

<p align="center">
  <a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=dart_custom_lint">
    <img width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded-avatar.png">
  </a>
  <p align="center">
    Built and maintained by <a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=dart_custom_lint">Invertase</a>.
  </p>
</p>

[custom_lint]: https://github.com/invertase/dart_custom_lint

## Changelog
## 0.3.3 - 2023-04-06

- Upgraded `analyzer` to `>=5.7.0 <5.11.0`
- `LintRuleNodeRegistry` and other AstVisitor-like now are based off `GeneralizingAstVisitor` instead of `GeneralizingAstVisitor`
- Exposes the Pubspec in CustomLintContext

## 0.3.2 - 2023-03-09

- `custom_lint` upgraded to `0.3.2`

## 0.3.1 - 2023-03-09
Update dependencies

## 0.3.0 - 2023-03-09

- Update analyzer to >=5.7.0 <5.8.0

## 0.2.12

Upgrade custom_lint

## 0.2.11

Bump minimum Dart SDK to `sdk: ">=2.19.0 <3.0.0"`

## 0.2.10

Update `fileToAnalyze` from `*.dart` to `**.dart` to match the `fileToAnalyze` fix in `custom_lint_builder`

## 0.2.9

Fix `TypeChecker.fromPackage` not always return `true` when it should

## 0.2.8

Fix exception thrown by `TypeChecker.isExactlyType` if `DartType.element` is `null`.

## 0.2.7

Initial release







 
