-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
40 lines (38 loc) · 1.01 KB
/
analysis_options.yaml
File metadata and controls
40 lines (38 loc) · 1.01 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
35
36
37
38
39
40
include: package:lints/recommended.yaml
analyzer:
exclude:
- build/**
- .dart_tool/**
- .fvm/**
- pubspec.yaml
- packages/**
- lib/jellyfin/**
- lib/**/**.g.dart
- lib/**/**.gr.dart
- lib/**/**.freezed.dart
- lib/**/**.mapped.dart
- lib/l10n/**
strong-mode:
implicit-casts: false
implicit-dynamic: false
language:
# strict-casts: false
# strict-raw-types: true
plugins:
- custom_lint
linter:
rules:
cancel_subscriptions: true
avoid_print: false # Uncomment to disable the `avoid_print` rule
no_logic_in_create_state: true
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
prefer_relative_imports: false
avoid_relative_lib_imports: true
eol_at_end_of_file: true
prefer_final_fields: true
prefer_const_constructors: true
always_declare_return_types: true
type_init_formals: true
unnecessary_this: true
sort_pub_dependencies: true
use_key_in_widget_constructors: true