feat(quality): harden lint rules and add quality-gate tests

This commit is contained in:
2026-06-12 00:05:06 +02:00
parent 202bef3539
commit 8a032e6e62
21 changed files with 485 additions and 140 deletions
+8 -2
View File
@@ -136,7 +136,11 @@ class Emisora {
/// Lista de géneros/tags como lista limpia.
List<String> get generos {
if (tags == null || tags!.isEmpty) return [];
return tags!.split(',').map((t) => t.trim()).where((t) => t.isNotEmpty).toList();
return tags!
.split(',')
.map((t) => t.trim())
.where((t) => t.isNotEmpty)
.toList();
}
static String? _nonEmpty(String? s) =>
@@ -148,7 +152,9 @@ class Emisora {
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is Emisora && runtimeType == other.runtimeType && uuid == other.uuid;
other is Emisora &&
runtimeType == other.runtimeType &&
uuid == other.uuid;
@override
int get hashCode => uuid.hashCode;