-
Notifications
You must be signed in to change notification settings - Fork 12
/
analysis_options.yaml
32 lines (27 loc) · 1.03 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
include: ./analysis_options.autogen.yaml
analyzer:
errors:
# 'flutter analyze' exits with 1 even on 'info':
# https://github.com/flutter/flutter/issues/20855
todo: ignore
# Sometimes autogenerated file will have lints that are not yet present in
# the linter packaged with our Flutter version. Ignore them.
included_file_warning: ignore
strong-mode:
implicit-casts: false
implicit-dynamic: false
# Rules are disabled by default unless listed explicitly.
linter:
rules:
# "Correcting" input parameters is too useful to let go of.
parameter_assignments: false
# Final variables are actually quite useful to avoid mistakes.
unnecessary_final: false
# Conflicts with implicit-dynamic strong-mode setting.
avoid_types_on_closure_parameters: false
avoid_annotating_with_dynamic: false
# Questionable effort-to-gain ratio.
avoid_catches_without_on_clauses: false
avoid_function_literals_in_foreach_calls: false
prefer_double_quotes: false
always_specify_types: false