-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathanalysis_options.yaml
44 lines (41 loc) · 1.04 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
include: package:flutter_lints/flutter.yaml
analyzer:
exclude: [
"build/**",
".dart_tool/**",
"**/*.g.dart",
"**/*.freezed.dart",
"lib/gen/**",
"**/*.mocks.dart",
"lib/generated_plugin_registrant.dart"
]
# strong-mode:
# implicit-casts: true
errors:
unused_import: error
invalid_annotation_target: ignore
linter:
rules:
- annotate_overrides
- await_only_futures
- camel_case_types
- cancel_subscriptions
- close_sinks
- comment_references
- constant_identifier_names
- control_flow_in_finally
- empty_statements
- library_names
- avoid_catches_without_on_clauses
- avoid_catching_errors
- avoid_null_checks_in_equality_operators
- unnecessary_parenthesis
- unnecessary_this
- unnecessary_overrides
- unnecessary_lambdas
- unnecessary_brace_in_string_interps
- curly_braces_in_flow_control_structures
- slash_for_doc_comments
- non_constant_identifier_names
- one_member_abstracts
- prefer_const_constructors