-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
34 lines (32 loc) · 1.05 KB
/
analysis_options.yaml
File metadata and controls
34 lines (32 loc) · 1.05 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
#FIXME: set these to true eventually; will create lots of errors we have to handle
analyzer:
language:
strict-casts: false
strict-raw-types: false
errors:
uri_has_not_been_generated: ignore
hash_and_equals: ignore
unused_import: ignore
plugins:
- over_react
# exclude:
# - path/to/excluded/files/**
# rules: https://workiva.github.io/over_react/analyzer_plugin/lints/
over_react:
errors:
over_react_required_props: error
# I'd like the next but it mistakenly says I can do this when I can't, e.g., when using
# the spread operator, a for loop, or a conditional expression
over_react_variadic_children: ignore
# over_react_boilerplate_error: error
# over_react_incorrect_doc_comment_location: warning
# over_react_unnecessary_key: info
# over_react_pseudo_static_lifecycle: ignore
# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
linter:
rules:
- cancel_subscriptions
- hash_and_equals
- test_types_in_equals
- unrelated_type_equality_checks
- valid_regexps