-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
33 lines (30 loc) · 963 Bytes
/
analysis_options.yaml
File metadata and controls
33 lines (30 loc) · 963 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
# https://dart.dev/tools/analysis
include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# The example app explicitly takes a String of user-generated HTML and
# inserts it straight into a <div> using innerHtml.
unsafe_html: ignore
linter:
rules:
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
- prefer_const_declarations
- prefer_final_in_for_each
- prefer_final_locals
- remove_deprecations_in_breaking_versions
- unnecessary_await_in_return
- unnecessary_raw_strings
- use_if_null_to_convert_nulls_to_bools
- use_raw_strings
- use_string_buffers