flakes 1.0.0 copy "flakes: ^1.0.0" to clipboard
flakes: ^1.0.0 copied to clipboard

A collection of Lint rules for Dart and Flutter projects. #lints

The flakes package logo.

Flakes #

A collection of Lint rules for Dart and Flutter projects. Like Python flake8, but for Dart!

  • Production ready
  • Strict but not annoying
  • Improve your code quality
  • Follow the Effective Dart Style

Installation #

With Dart, install via dart pub:

dart pub add flakes

With Flutter, install via flutter pub:

flutter pub add flakes

Or manually add to your pubspec.yaml:

dev_dependencies:
  flakes: ^1.0.0

And run dart pub get or flutter pub get.

Usage #

To use the lints, include in your analysis_options.yaml:

include: package:flakes/flakes.yaml

You can also customize the rules or add your own:

include: package:flakes/flakes.yaml

linter:
  rules:
    # Customizing rules
    avoid_print: false

    # Adding rules
    public_member_api_docs: true

#

This package is inspired by other lint packages, like very_good_analysis and lint.

Developed with 💙 by Robson Silva.

2
likes
0
pub points
0%
popularity

Publisher

verified publishersilvaquill.com

A collection of Lint rules for Dart and Flutter projects. #lints

Repository (GitHub)
View/report issues

Topics

#lint #lints #analysis

Documentation

Documentation

License

unknown (license)

More

Packages that depend on flakes