forked from google/json_serializable.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
36 lines (34 loc) · 1.01 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
# See https://dart.dev/guides/language/analysis-options
include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
language:
strict-casts: true
linter:
rules:
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_returning_null
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- cascade_invocations
- comment_references
- invalid_case_patterns
- join_return_with_assignment
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_runtimeType_toString
- package_api_docs
- prefer_const_constructors
- prefer_const_declarations
- prefer_expression_function_bodies
- prefer_final_locals
- prefer_relative_imports
- sort_child_properties_last
- test_types_in_equals
- type_literal_in_constant_pattern
- unnecessary_breaks
- unsafe_html
- use_full_hex_values_for_flutter_colors
- use_string_buffers
- use_super_parameters