-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
41 lines (35 loc) · 1.06 KB
/
analysis_options.yaml
File metadata and controls
41 lines (35 loc) · 1.06 KB
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
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
- "lib/generated/**"
- "**.g.dart"
errors:
unused_import: warning
unused_local_variable: warning
dead_code: warning
deprecated_member_use: ignore
avoid_print: warning
linter:
rules:
- directives_ordering
- always_use_package_imports
- use_super_parameters
- unnecessary_this
- unnecessary_new
- prefer_is_empty
- prefer_is_not_empty
- avoid_unnecessary_containers
- sized_box_for_whitespace
- unnecessary_string_interpolations
- prefer_collection_literals
- prefer_const_constructors
- prefer_const_declarations
- prefer_const_constructors_in_immutables
- prefer_const_literals_to_create_immutables
- prefer_double_quotes
- require_trailing_commas
- sort_child_properties_last
- prefer_final_fields
- prefer_final_locals
- avoid_empty_else
- use_build_context_synchronously