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
+2 -3
View File
@@ -49,9 +49,8 @@ class EstadoIdioma extends ChangeNotifier {
final partes = value.split('_');
final languageCode = partes.first;
if (languageCode.isEmpty) return null;
final countryCode = partes.length > 1 && partes[1].isNotEmpty
? partes[1]
: null;
final countryCode =
partes.length > 1 && partes[1].isNotEmpty ? partes[1] : null;
return Locale.fromSubtags(
languageCode: languageCode,
countryCode: countryCode,