-
-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathanalysis_options.yaml
35 lines (33 loc) · 1.02 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
# See: https://dart-lang.github.io/linter/lints/
include: package:lints/recommended.yaml
analyzer:
exclude:
- 'example'
- '**.g.dart'
- 'test_resources/**'
errors:
deprecated_member_use_from_same_package: ignore
unnecessary_import: error
unawaited_futures: error
linter:
rules:
# always_use_package_imports: true
avoid_classes_with_only_static_members: true
avoid_equals_and_hash_code_on_mutable_classes: true
curly_braces_in_flow_control_structures: true
directives_ordering: true
flutter_style_todos: true
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_final_in_for_each: true
prefer_int_literals: true
prefer_single_quotes: true
require_trailing_commas: true
sort_constructors_first: true
sort_unnamed_constructors_first: true
unawaited_futures: true
unnecessary_await_in_return: true
unnecessary_lambdas: true
use_to_and_as_if_applicable: true
use_raw_strings: true
use_super_parameters: false