From 477504b8fc82e2e94241e04e40c6a6de341329fb Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 31 Jan 2025 17:15:05 +0330 Subject: [PATCH] update: fix issue on pipeline about `CodegenLoader` class and file generations --- lib/src/core/utils/gen/localization/codegen_loader.dart | 1 + lib/src/core/utils/gen/localization/translations_utils.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/src/core/utils/gen/localization/codegen_loader.dart b/lib/src/core/utils/gen/localization/codegen_loader.dart index af4b00c..280274a 100644 --- a/lib/src/core/utils/gen/localization/codegen_loader.dart +++ b/lib/src/core/utils/gen/localization/codegen_loader.dart @@ -11,6 +11,7 @@ import 'dart:ui' show Locale; /// - `frFR`: French translations. /// - `esES`: Spanish translations. /// +// ignore_for_file: lines_longer_than_80_chars class CodegenLoader { const CodegenLoader(); diff --git a/lib/src/core/utils/gen/localization/translations_utils.dart b/lib/src/core/utils/gen/localization/translations_utils.dart index d318fd3..ae7fd76 100644 --- a/lib/src/core/utils/gen/localization/translations_utils.dart +++ b/lib/src/core/utils/gen/localization/translations_utils.dart @@ -203,6 +203,7 @@ Future _generateCodegenLoaderFile( ..writeln('/// - `frFR`: French translations.') ..writeln('/// - `esES`: Spanish translations.') ..writeln('///') + ..writeln('// ignore_for_file: lines_longer_than_80_chars') ..writeln('class CodegenLoader {') ..writeln(' const CodegenLoader();') ..writeln()