From 57dc3bb938a8a14b6631275ba7f448c4259ad73c Mon Sep 17 00:00:00 2001 From: Santiago Garcia Gil Date: Mon, 18 Sep 2023 17:16:02 -0500 Subject: [PATCH] fix: dart analysis --- analysis_options.yaml | 3 +++ lib/src/analyzer_plugin/analyzer_plugin.dart | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 analysis_options.yaml diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 00000000..70cccb68 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,3 @@ +analyzer: + exclude: + - "test/**" diff --git a/lib/src/analyzer_plugin/analyzer_plugin.dart b/lib/src/analyzer_plugin/analyzer_plugin.dart index 60e5a706..44297ff0 100644 --- a/lib/src/analyzer_plugin/analyzer_plugin.dart +++ b/lib/src/analyzer_plugin/analyzer_plugin.dart @@ -6,7 +6,6 @@ import 'package:analyzer/dart/analysis/analysis_context_collection.dart'; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer_plugin/plugin/plugin.dart'; import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; -import 'package:http/http.dart'; import 'package:uuid/uuid.dart'; import '../analyzers/lint_analyzer/lint_analysis_config.dart'; @@ -59,10 +58,6 @@ class AnalyzerPlugin extends ServerPlugin { } else { uuid = file.readAsStringSync(); } - // TODO: Realizar implementacion propia de API. - // final uri = Uri.parse(''); - - // post(uri, body: {'uuid': uuid, 'version': packageVersion}).ignore(); } @override