From f5896e12f6d912e7ed9801e2acc9be561d510b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Irland?= Date: Wed, 26 Oct 2022 11:26:07 -0300 Subject: [PATCH] Avoid relative imports (#91) (#16) --- analysis_options.yaml | 1 + lib/core/di/di_provider.dart | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 984a3da..8f3e22c 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -11,6 +11,7 @@ include: package:pedantic/analysis_options.yaml linter: rules: + - always_use_package_imports - camel_case_types - library_names - avoid_catching_errors diff --git a/lib/core/di/di_provider.dart b/lib/core/di/di_provider.dart index b0c00af..2041c3f 100644 --- a/lib/core/di/di_provider.dart +++ b/lib/core/di/di_provider.dart @@ -1,8 +1,7 @@ +import 'package:flutter_template/core/di/di_repository_module.dart'; import 'package:flutter_template/core/di/di_utils_module.dart'; import 'package:get_it/get_it.dart'; -import 'di_repository_module.dart'; - abstract class DiProvider { static bool _initialized = false;