Skip to content
pubscout

custom_lint_builder

0.8.1, released a year ago by invertase.io

A package to help writing custom linters.

Repository archivedQuiet but busy
$ flutter pub add custom_lint_builder
Source repository

What it does

custom_lint_builder is associated with custom_lint for defining custom_lint plugins. It allows plugin authors to access classes such as LintRule or Assist.

AI-written summary of version 0.8.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are developing a custom_lint plugin
  • You want to define custom lints or code assists for Dart

Skip it when

  • You just want to use existing custom lints
  • You want to expose new utilities for plugin authors without making a custom_lint plugin (use custom_lint_core instead)

Strengths

  • Enables the creation of custom lints and assists
  • Maintained by Invertase

Weaknesses

  • Reserved specifically for plugin authors

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
13

Depending on custom_lint_builder will tell custom_lint that your package is a plugin and try to run it.

Alternatives

Packages that do the same job and could replace custom_lint_builder.

  • dart_code_linter

    A software analytics and static analysis tool for checking code metrics, lint rules, and unused code.

  • saropa_lints

    Static analysis suite with 2300+ custom lint rules for Flutter and Dart

  • many_lints

    A collection of custom lint rules, quick fixes, and code assists for Flutter and Dart.

  • freezed_lint

    Linter plugin that enforces correct usage of freezed classes.

Works with

Packages commonly used together with custom_lint_builder: ones it builds on, ones built on it, and its own family.