custom_lint 0.7.5 copy "custom_lint: ^0.7.5" to clipboard
custom_lint: ^0.7.5 copied to clipboard

Lint rules are a powerful way to improve the maintainability of a project. Custom Lint allows package authors and developers to easily write custom lint rules.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate custom_lint
copied to clipboard

Use it

The package has the following executables:

$ custom_lint
copied to clipboard

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add custom_lint
copied to clipboard

With Flutter:

 $ flutter pub add custom_lint
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  custom_lint: ^0.7.5
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:custom_lint/custom_lint.dart';
copied to clipboard
229
likes
160
points
1.93M
downloads

Publisher

verified publisherinvertase.io

Weekly Downloads

2024.09.13 - 2025.03.28

Lint rules are a powerful way to improve the maintainability of a project. Custom Lint allows package authors and developers to easily write custom lint rules.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, analyzer_plugin, args, async, ci, cli_util, collection, custom_lint_core, freezed_annotation, json_annotation, meta, package_config, path, pub_semver, pubspec_parse, rxdart, uuid, yaml

More

Packages that depend on custom_lint