mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-03 00:30:54 +02:00
34 lines
797 B
YAML
34 lines
797 B
YAML
include: package:flutter_lints/flutter.yaml
|
|
|
|
plugins:
|
|
riverpod_lint: 3.1.4-dev.3
|
|
|
|
analyzer:
|
|
exclude:
|
|
- build/**
|
|
- .dart_tool/**
|
|
- lib/**/*.g.dart
|
|
- lib/l10n/*.dart
|
|
- android/**
|
|
- ios/**
|
|
- web/**
|
|
- windows/**
|
|
- macos/**
|
|
- linux/**
|
|
language:
|
|
strict-casts: true
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
linter:
|
|
rules:
|
|
always_declare_return_types: true
|
|
avoid_dynamic_calls: true
|
|
avoid_types_as_parameter_names: true
|
|
strict_top_level_inference: true
|
|
type_annotate_public_apis: true
|
|
cancel_subscriptions: true
|
|
close_sinks: true
|
|
# Catches dead cross-layer chains (Dart wrapper kept alive only by its own
|
|
# declaration) before they accumulate into another dedup campaign.
|
|
unreachable_from_main: true
|