custom_lint 0.6.4 copy "custom_lint: ^0.6.4" to clipboard
custom_lint: ^0.6.4 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

Use it

The package has the following executables:

$ custom_lint

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add custom_lint

With Flutter:

 $ flutter pub add custom_lint

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

dependencies:
  custom_lint: ^0.6.4

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';
171
likes
140
pub points
100%
popularity

Publisher

verified publisherinvertase.io

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