extra_pedantic 1.2.1-nullsafety.0 copy "extra_pedantic: ^1.2.1-nullsafety.0" to clipboard
extra_pedantic: ^1.2.1-nullsafety.0 copied to clipboard

outdated

Stricter Dart analyzer settings and best practices.

extra_pedantic #

Medium extra_pedantic on pub.dev Pub.dev Github Stars Twitter Follow GitHub Follow

How to get the most, most value from Dart static analysis.

This is an alternative to pedantic with many additional rules.

It does contain all pedantic rules and many more.

To use extra_pedantic add it as a dev_dependency:

dev_dependencies:
  extra_pedantic: 1.2.0

Add this line to your analysis_options.yaml file

include: package:extra_pedantic/analysis_options.yaml

or if you want to enforce sort_child_properties_last and disable always_put_required_named_parameters_first (for Flutter projects)

include: package:extra_pedantic/analysis_options_flutter.yaml

And you're done.

The static analyzer might show you thousands of warnings, but that's OK. Fix them on your terms and you'll drastically improve your code quality, reduce ambiguity and the number of bugs in your codebase.

Badge #

Feel free to add this badge to your README.

[![extra_pedantic on pub.dev](https://img.shields.io/badge/style-extra__pedantic-blue)](https://pub.dev/packages/extra_pedantic)

Note: #

extra_pedantic does not contain any dart code. If you want to use unawaited, you'll have to add pedantic as a normal dependency.

21
likes
0
pub points
72%
popularity

Publisher

verified publishermodulovalue.com

Stricter Dart analyzer settings and best practices.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on extra_pedantic