From 2d27903a0c867fe977a14cfd05d4990dba14a455 Mon Sep 17 00:00:00 2001 From: Daniil Marchenko Date: Tue, 30 Jan 2024 20:52:36 +0200 Subject: [PATCH] ignore some lints --- example/lib/main.dart | 2 ++ lib/src/implementations/debounce_lang_tool_service.dart | 1 + lib/src/implementations/throttling_lang_tool_service.dart | 1 + 3 files changed, 4 insertions(+) diff --git a/example/lib/main.dart b/example/lib/main.dart index 0f8e3d7..8f7ec40 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,3 +1,5 @@ +// ignore_for_file: prefer_match_file_name + import 'package:flutter/material.dart'; import 'package:languagetool_textfield/languagetool_textfield.dart'; diff --git a/lib/src/implementations/debounce_lang_tool_service.dart b/lib/src/implementations/debounce_lang_tool_service.dart index bcac7fe..e7fc013 100644 --- a/lib/src/implementations/debounce_lang_tool_service.dart +++ b/lib/src/implementations/debounce_lang_tool_service.dart @@ -21,6 +21,7 @@ class DebounceLangToolService extends LanguageCheckService { Future>?> findMistakes(String text) async => await debouncing.debounce(() => baseService.findMistakes(text)); + // ignore: proper_super_calls @override Future dispose() async { debouncing.close(); diff --git a/lib/src/implementations/throttling_lang_tool_service.dart b/lib/src/implementations/throttling_lang_tool_service.dart index 872374d..dfa6868 100644 --- a/lib/src/implementations/throttling_lang_tool_service.dart +++ b/lib/src/implementations/throttling_lang_tool_service.dart @@ -22,6 +22,7 @@ class ThrottlingLangToolService extends LanguageCheckService { Future>?> findMistakes(String text) async => throttling.throttle(() => baseService.findMistakes(text)); + // ignore: proper_super_calls @override Future dispose() async { throttling.close();