first commit
This commit is contained in:
22
app/analysis_options.yaml
Normal file
22
app/analysis_options.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
include: package:flutter_lints/flutter.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
avoid_print: true
|
||||
prefer_single_quotes: true
|
||||
prefer_const_constructors: true
|
||||
prefer_const_literals_to_create_immutables: true
|
||||
prefer_final_fields: true
|
||||
prefer_final_locals: true
|
||||
avoid_unnecessary_containers: true
|
||||
avoid_redundant_argument_values: true
|
||||
use_super_parameters: true
|
||||
use_build_context_synchronously: true
|
||||
|
||||
analyzer:
|
||||
exclude:
|
||||
- "**/*.g.dart"
|
||||
- "**/*.freezed.dart"
|
||||
- "**/generated_plugin_registrant.dart"
|
||||
errors:
|
||||
invalid_annotation_target: ignore
|
||||
Reference in New Issue
Block a user