0 purchases
analysis options cli generator
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
copied to clipboard
The only command over there .. #
aog
copied to clipboard
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
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 #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.