-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (32 loc) · 914 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (32 loc) · 914 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
include: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
optional-checks:
chrome-os-manifest-checks: true
exclude:
- build/**
linter:
rules:
empty_catches: false
avoid_dynamic_calls: true
test_types_in_equals: true
unnecessary_statements: true
avoid_escaping_inner_quotes: true
avoid_multiple_declarations_per_line: true
join_return_with_assignment: true
leading_newlines_in_multiline_strings: true
no_default_cases: true
no_literal_bool_comparisons: true
omit_local_variable_types: true
only_throw_errors: true
prefer_final_in_for_each: true
prefer_foreach: true
prefer_single_quotes: true
type_literal_in_constant_pattern: true
unnecessary_breaks: true
unnecessary_lambdas: true
use_named_constants: true
use_super_parameters: true