forked from flutter/gallery
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (30 loc) · 858 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (30 loc) · 858 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:pedantic/analysis_options.1.11.0.yaml
# To see flutter_lints, uncomment this line instead
# include: package:flutter_lints/flutter.yaml
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
linter:
# In addition to the pedantic lints
rules:
- avoid_types_on_closure_parameters
- avoid_void_async
- camel_case_types
- cancel_subscriptions
- close_sinks
- constant_identifier_names
- control_flow_in_finally
- directives_ordering
- empty_statements
- hash_and_equals
- implementation_imports
- non_constant_identifier_names
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_const_constructors
- prefer_const_literals_to_create_immutables
- test_types_in_equals
- throw_in_finally
- unnecessary_statements