generated from nain93/flutter_boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
46 lines (44 loc) · 1.27 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
include: package:flutter_lints/flutter.yaml
linter:
rules:
- prefer_const_constructors
- always_declare_return_types
- always_require_non_null_named_parameters
- avoid_types_on_closure_parameters
- avoid_annotating_with_dynamic
- avoid_escaping_inner_quotes
- avoid_function_literals_in_foreach_calls
- avoid_private_typedef_functions
- combinators_ordering
- curly_braces_in_flow_control_structures
- lowercase_with_underscores
- annotate_overrides
- sort_constructors_first
- unawaited_futures
- directives_ordering
- unnecessary_final
- unnecessary_parenthesis
- conditional_uri_does_not_exist
- prefer_single_quotes
- await_only_futures
- always_use_package_imports
- avoid_empty_else
- comment_references
- prefer_void_to_null
- use_key_in_widget_constructors
- prefer_const_literals_to_create_immutables
- prefer_typing_uninitialized_variables
- unnecessary_getters_setters
- no_leading_underscores_for_local_identifiers
analyzer:
strong-mode:
# implicit-casts: false
# implicit-dynamic: false
exclude:
- lib/**.freezed.dart
- lib/**.g.dart
- lib/generated
- lib/firebase_options.dart
errors:
invalid_annotation_target: ignore
todo: ignore