forked from widgetbook/widgetbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
37 lines (31 loc) · 847 Bytes
/
analysis_options.yaml
File metadata and controls
37 lines (31 loc) · 847 Bytes
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
include: package:very_good_analysis/analysis_options.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
# Constructors
- sort_unnamed_constructors_first
- sort_constructors_first
- prefer_const_constructors
- use_key_in_widget_constructors
# Imports
- prefer_relative_imports
- directives_ordering
- combinators_ordering
- depend_on_referenced_packages
- avoid_web_libraries_in_flutter
# Dependencies
- sort_pub_dependencies
# Style
- prefer_single_quotes
- require_trailing_commas
- noop_primitive_operations
- use_super_parameters
- avoid_redundant_argument_values
- avoid_renaming_method_parameters
# Types
- unrelated_type_equality_checks
- avoid_types_on_closure_parameters