Skip to content

Commit

Permalink
ignore some lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Marchenko committed Jan 30, 2024
1 parent b10b94e commit 2d27903
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: prefer_match_file_name

import 'package:flutter/material.dart';
import 'package:languagetool_textfield/languagetool_textfield.dart';

Expand Down
1 change: 1 addition & 0 deletions lib/src/implementations/debounce_lang_tool_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class DebounceLangToolService extends LanguageCheckService {
Future<Result<List<Mistake>>?> findMistakes(String text) async =>
await debouncing.debounce(() => baseService.findMistakes(text));

// ignore: proper_super_calls
@override
Future<void> dispose() async {
debouncing.close();
Expand Down
1 change: 1 addition & 0 deletions lib/src/implementations/throttling_lang_tool_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class ThrottlingLangToolService extends LanguageCheckService {
Future<Result<List<Mistake>>?> findMistakes(String text) async =>
throttling.throttle(() => baseService.findMistakes(text));

// ignore: proper_super_calls
@override
Future<void> dispose() async {
throttling.close();
Expand Down

0 comments on commit 2d27903

Please sign in to comment.