Skip to content

Instantly share code, notes, and snippets.

@VB10
Created June 27, 2025 08:01
Show Gist options
  • Save VB10/b72ca6bcded82a9f91bed7e9504d1d52 to your computer and use it in GitHub Desktop.
Save VB10/b72ca6bcded82a9f91bed7e9504d1d52 to your computer and use it in GitHub Desktop.
This is for general usage to flutter project
include: package:very_good_analysis/analysis_options.yaml
analyzer:
exclude:
- lib/product/init/language/
- lib/product/init/generation/
- "/*.g.dart"
- "/*.gen.dart"
- "/*.freezed.dart"
- app_router.g.dart
- "test/.test_coverage.dart"
- "bin/cache/**"
- "lib/generated_plugin_registrant.dart"
- test
- assets/translations/
errors:
# Mevcut hataları optimize et
camel_case_types: error
missing_return: error
dead_code: error
unused_import: error
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
lines_longer_than_80_chars: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment