-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlint_maker.yaml
More file actions
34 lines (34 loc) · 1.28 KB
/
lint_maker.yaml
File metadata and controls
34 lines (34 loc) · 1.28 KB
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
base:
preset:
formatter:
page_width: 80
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
# Prefer type inference.
always_specify_types: false
# This separates external and internal imports.
# We might change it later on; Feedback welcome.
always_use_package_imports: false
# omitting types is never a good idea
avoid_annotating_with_dynamic: false
# Too much overhead to enable for everybody.
# Maybe enable it only for our dart_packages
diagnostic_describe_all_properties: false
# public types should be specified lint:type_annotate_public_apis
omit_obvious_property_types: false
# We prefer single quotes
prefer_double_quotes: false
# lambdas produce bad diffs when changed.
# Using them in map functions is also bad practice.
prefer_expression_function_bodies: false
# we prefer lint:omit_local_variable_types
specify_nonobvious_local_variable_types: false
# We use lint:prefer_final_locals per Effective Dart
unnecessary_final: false
# pose embedding is easier to read that way
lines_longer_than_80_chars: false