-
Notifications
You must be signed in to change notification settings - Fork 1
/
analysis_options.yaml
43 lines (40 loc) · 1.2 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
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
analyzer:
exclude:
- fvm/
- lib/**/*.config.dart
linter:
rules:
- always_declare_return_types
- always_use_package_imports
- avoid_annotating_with_dynamic
- avoid_bool_literals_in_conditional_expressions
- avoid_positional_boolean_parameters
- avoid_redundant_argument_values
- avoid_unused_constructor_parameters
- conditional_uri_does_not_exist
- directives_ordering
- lines_longer_than_80_chars
- literal_only_boolean_expressions
- prefer_asserts_with_message
- prefer_null_aware_method_calls
- prefer_single_quotes
- require_trailing_commas
- secure_pubspec_urls
- sized_box_shrink_expand
- sort_pub_dependencies
- sort_unnamed_constructors_first
- throw_in_finally
- unnecessary_await_in_return
- unnecessary_null_checks
- unnecessary_parenthesis
- unnecessary_statements
- use_colored_box
- use_decorated_box
- use_is_even_rather_than_modulo
- use_named_constants
- use_string_buffers
- use_super_parameters
- prefer_final_locals