From 1733c2b474aed899b9e14361a562873bb7940adc Mon Sep 17 00:00:00 2001 From: Guilherme Torres Date: Mon, 3 Jun 2024 18:00:22 -0300 Subject: [PATCH 1/2] chore: Ignore constant identifier names --- bin/generate.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/generate.dart b/bin/generate.dart index cb006022..250bb2a7 100644 --- a/bin/generate.dart +++ b/bin/generate.dart @@ -234,7 +234,7 @@ Future _writeJson( var gFile = ''' // DO NOT EDIT. This is code generated via package:easy_localization/generate.dart -// ignore_for_file: prefer_single_quotes, avoid_renaming_method_parameters +// ignore_for_file: prefer_single_quotes, avoid_renaming_method_parameters, constant_identifier_names import 'dart:ui'; From c023da9139c87570330ce8ff320851bfced955cb Mon Sep 17 00:00:00 2001 From: Guilherme Torres Date: Mon, 3 Jun 2024 18:10:41 -0300 Subject: [PATCH 2/2] chore: add ignore constant_identifier_names to localeKeys --- bin/generate.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/generate.dart b/bin/generate.dart index 250bb2a7..0ad39326 100644 --- a/bin/generate.dart +++ b/bin/generate.dart @@ -175,6 +175,8 @@ Future _writeKeys(StringBuffer classBuilder, List files, var file = ''' // DO NOT EDIT. This is code generated via package:easy_localization/generate.dart +// ignore_for_file: constant_identifier_names + abstract class LocaleKeys { ''';