mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
The analyzer plugin version in analysis_options.yaml stayed at 3.1.9 when the riverpod_lint dev dependency moved to 3.2.0, so it now matches. The plugin intermittently reports avoid_public_notifier_properties for the fake download queue's mutable playlist field. The fake now records playlist names in a final list like the tracks it adds, so analyze is clean on every run.
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
include: package:flutter_lints/flutter.yaml
|
|
|
|
plugins:
|
|
riverpod_lint: 3.2.0
|
|
|
|
analyzer:
|
|
exclude:
|
|
- build/**
|
|
- .dart_tool/**
|
|
- docs/internal/**
|
|
- lib/**/*.g.dart
|
|
- lib/l10n/app_localizations*.dart
|
|
- android/**
|
|
- ios/**
|
|
- web/**
|
|
- windows/**
|
|
- macos/**
|
|
- linux/**
|
|
- third_party/audio_service/**
|
|
- third_party/audioplayers_android/**
|
|
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
|
|
# Reports top-level declarations unreachable from the `main` of an
|
|
# analyzed executable library (the app entry point and test files). It does
|
|
# not detect unused public members of library files, such as services or
|
|
# providers, which have no `main` of their own.
|
|
unreachable_from_main: true
|