Skip to content
SPECIFICTION
Get listed

custom_lint

pub.dev

Free plan WindowsmacOSLinuxiOSAndroid

Spec sheet

Purpose
custom_lint lets package authors and developers create custom lint rules for Dart projects.Read 14 Nov 2026 · pub.dev
License
The package is listed under the Apache-2.0 license.Read 14 Nov 2026 · pub.dev
CI
It provides a command-line option to list lints for use in CI.Read 14 Nov 2026 · pub.dev
Configuration
Installed lints are enabled by default and can be disabled or configured in `analysis_options.yaml`.Read 14 Nov 2026 · pub.dev
Debugging
Lint authors can use the Dart debugger and set breakpoints while inspecting lints.Read 14 Nov 2026 · pub.dev
Developer experience
It aims to improve on analyzer_plugin with simpler setup and less need to manage analyzer-server details or error handling.Read 14 Nov 2026 · pub.dev
Hot reload
Updating a linter plugin's source can dynamically restart it without restarting the IDE or analyzer server.Read 14 Nov 2026 · pub.dev
Ignore directives
It has built-in support for Dart's `// ignore:` and `// ignore_for_file:` directives.Read 14 Nov 2026 · pub.dev
Lint testing
Its testing mechanism uses `// expect_lint` to assert that expected lints appear.Read 14 Nov 2026 · pub.dev
Maintainer
The package page says custom_lint is built and maintained by Invertase.Read 14 Nov 2026 · pub.dev
Platform metadata
pub.dev lists Android, iOS, Linux, macOS, and Windows as supported platforms.Read 14 Nov 2026 · pub.dev
Project setup
Applications configure the analyzer plugin and add custom_lint and their lint package as dev dependencies.Read 14 Nov 2026 · pub.dev
Quick fixes and assists
Lint packages can include quick fixes and assists; the package example implements both.Read 14 Nov 2026 · pub.dev

Plans and prices

custom_lint Free No charge stated; published as a Dart package Package for building custom lint rules Read 14 Nov 2026 · pub.dev

Every custom_lint plan and price →

Where Specifiction places it

Alternatives to custom_lintAll alternatives →