forked from codegrue/card_settings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
36 lines (34 loc) · 889 Bytes
/
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
33
34
35
36
# https://www.dartlang.org/guides/language/analysis-options
analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
todo: ignore
exclude:
- flutter/**
- lib/api/*.dart
# Source of linter options:
# http://dart-lang.github.io/linter/lints/options/options.html
linter:
rules:
- camel_case_types
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- unrelated_type_equality_checks
- valid_regexps
- avoid_empty_else
- cancel_subscriptions
- close_sinks
- unnecessary_const
- unnecessary_new
- always_declare_return_types
- empty_constructor_bodies
- annotate_overrides
- avoid_init_to_null
- constant_identifier_names
- one_member_abstracts
- slash_for_doc_comments
- sort_constructors_first
- unnecessary_brace_in_string_interps