forked from PalisadoesFoundation/talawa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
48 lines (31 loc) · 1.23 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
include: package:lint/analysis_options.yaml
analyzer:
exclude:
- lib/generated_plugin_registrant.dart
- test/helpers/test_helpers.mocks.dart
linter:
rules:
# Make constructors the first thing in every class
sort_constructors_first: true
# Use parameter order as in json response
always_put_required_named_parameters_first: false
# Util classes
avoid_classes_with_only_static_members: false
avoid_redundant_argument_values: false
# Unnecessary use of this in constructors should not be done
unnecessary_this: false
# source files name using lowercase_with_underscores
lowercase_with_underscores: true
leading_newlines_in_multiline_strings: false
always_declare_return_types: false
type_annotate_public_apis: false
#always_use_package_imports to make a quick navigation to particular files
always_use_package_imports: true
directives_ordering: true
# In case of production should be set to true
avoid_print: false
avoid_unnecessary_containers: false
prefer_if_elements_to_conditional_expressions: false
avoid_function_literals_in_foreach_calls: false
join_return_with_assignment: false
prefer_const_literals_to_create_immutables: false