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