mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 13:38:13 -08:00
36 lines
954 B
YAML
36 lines
954 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
exclude:
|
|
- build/**
|
|
- lib/jellyfin/**
|
|
- lib/**/**.g.dart
|
|
- lib/**/**.freezed.dart
|
|
- lib/**/**.mapped.dart
|
|
- packages/**
|
|
- pubspec.yaml
|
|
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
|