Skip to content

Instantly share code, notes, and snippets.

@VB10
Created September 15, 2022 23:16
Show Gist options
  • Save VB10/6ba78d2189d05d202229bdb1bae2786c to your computer and use it in GitHub Desktop.
Save VB10/6ba78d2189d05d202229bdb1bae2786c to your computer and use it in GitHub Desktop.
include: package:very_good_analysis/analysis_options.yaml
analyzer:
exclude:
- lib/product/init/language/
- lib/product/init/generation/
- "**/*.g.dart"
- "**/*.freezed.dart"
- "test/.test_coverage.dart"
- "bin/cache/**"
- "lib/generated_plugin_registrant.dart"
- test
- assets/translations
linter:
rules:
avoid_print: true # Uncomment to disable the `avoid_print` rule
prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
always_declare_return_types: true
avoid_empty_else: true
depend_on_referenced_packages: false
public_member_api_docs: false
sort_constructors_first: true
prefer_const_constructors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment