-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathanalysis_options.yaml
48 lines (45 loc) · 1.41 KB
/
analysis_options.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
— “build/**”
— “**/*.g.dart”
— “**/*.gen.dart”
— “**/*.freezed.dart”
linter:
rules:
avoid_redundant_argument_values: true
avoid_init_to_null: true
avoid_print: true
control_flow_in_finally: true
constant_identifier_names: true
curly_braces_in_flow_control_structures: true
exhaustive_cases: true
file_names: true
library_prefixes: true
non_constant_identifier_names: true
null_check_on_nullable_type_parameter: true
prefer_const_constructors: true
prefer_contains: true
prefer_final_fields: true
prefer_is_empty: true
prefer_null_aware_operators: true
sized_box_for_whitespace: true
slash_for_doc_comments: true
unnecessary_brace_in_string_interps: true
unnecessary_constructor_name: true
unnecessary_late: true
unnecessary_parenthesis: true
unnecessary_string_escapes: true
unnecessary_string_interpolations: true
always_use_package_imports: true
depend_on_referenced_packages: true
prefer_single_quotes: true
require_trailing_commas: true
always_put_required_named_parameters_first: false
sort_pub_dependencies: false
prefer_if_elements_to_conditional_expressions: false
strong-mode:
implicit-casts: false
implicit-dynamic: false