analysis_options_cli_generator 1.0.4 copy "analysis_options_cli_generator: ^1.0.4" to clipboard
analysis_options_cli_generator: ^1.0.4 copied to clipboard

A CLI tool for generating best collection of analysis options rules.

What will this tool do for me? #

1- Generate analysis_options.yaml file for you which includes the best 100 analysis rules over there, with ignoring linting analysis for freezed, get_it and json_serializable generated files.

2- Add the latest version of flutter_lints package

3- Run pub get command

Installing #

dart pub global activate analysis_options_cli_generator

The only command over there .. #

  aog

to run any dart script you need to add /.pub-cache/bin to your path, you may need also $FLUTTER_HOME/bin/cache/dart-sdk/bin FLUTTER_HOME/.pub-cache/bin

alt text

This command will give you two options :-
- Basic: default rules
- Custom: make you choose whether you want to enable these 4 rules or not
avoid_print
sort_pub_dependencies
sort_constructors_first
prefer_expression_function_bodies

Buy me a coffee #

Buy Me A Coffee

4
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A CLI tool for generating best collection of analysis options rules.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dcli, plain_optional, process_run, pub_api_client, pubspec_yaml

More

Packages that depend on analysis_options_cli_generator