-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
62 lines (58 loc) · 1.6 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
- avoid_as
- avoid_catches_without_on_clauses
- avoid_return_types_on_setters
- avoid_types_as_parameter_names
- cancel_subscriptions
- close_sinks
- constant_identifier_names
- control_flow_in_finally
- directives_ordering
- empty_constructor_bodies
- empty_statements
- prefer_single_quotes
- sort_unnamed_constructors_first
- unawaited_futures
- use_rethrow_when_possible
- valid_regexps
- unnecessary_this
- unnecessary_string_escapes
- unnecessary_parenthesis
- unnecessary_overrides
- unnecessary_nullable_for_final_variable_declarations
- unnecessary_null_in_if_null_operators
- unnecessary_null_checks
- unnecessary_null_aware_assignments
- unnecessary_new
- unnecessary_late
- unnecessary_lambdas
- unnecessary_getters_setters
- unnecessary_constructor_name
- unnecessary_brace_in_string_interps
- unnecessary_await_in_return
- prefer_mixin
- prefer_iterable_whereType
- prefer_is_not_operator
- prefer_is_empty
- prefer_is_not_empty
- overridden_fields
- only_throw_errors
- one_member_abstracts
- null_closures
- null_check_on_nullable_type_parameter
analyzer:
exclude:
- 'build/**'
- 'generated/**'
- 'lib/**.freezed.dart'
- 'lib/**.g.dart'
- 'lib/generated/**'
- 'lib/views/menu/cws.dart'
dart_style:
enabled: true
line_length: 120
single_quotes: true