forked from realm/realm-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
27 lines (21 loc) · 916 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
# This file is symlinked into each package's root directory.
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true # see https://github.com/dart-lang/language/blob/main/resources/type-system/strict-casts.md
strict-inference: true # see https://github.com/dart-lang/language/blob/main/resources/type-system/strict-inference.md
# strict-raw-types: true # see https://github.com/dart-lang/language/blob/main/resources/type-system/strict-raw-types.md
plugins:
- custom_lint
exclude:
- lib/**/*.g.dart
- lib/**/*.realm.dart
- lib/**/realm_bindings.dart
linter:
rules:
avoid_relative_lib_imports: false
package_api_docs: true
# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints
# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options