-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
34 lines (32 loc) · 987 Bytes
/
analysis_options.yaml
File metadata and controls
34 lines (32 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
changeinclude: package:flutter_lints/flutter.yaml
analyzer:
errors:
unused_import: warning
must_be_immutable : ignore
constant_identifier_names : ignore
depend_on_referenced_packages : ignore
use_build_context_synchronously : ignore
linter:
rules:
- avoid_print
- avoid_unnecessary_containers
- sized_box_for_whitespace
- prefer_const_constructors
- camel_case_types
- avoid_empty_else
- unnecessary_brace_in_string_interps
- curly_braces_in_flow_control_structures
- sort_child_properties_last
- unnecessary_const
- prefer_null_aware_operators
- unnecessary_this
- avoid_single_cascade_in_expression_statements
- comment_references
- avoid_relative_lib_imports
- avoid_types_as_parameter_names
- collection_methods_unrelated_type
- always_declare_return_types
- avoid_multiple_declarations_per_line
- unnecessary_new
- depend_on_referenced_packages
- prefer_final_fields