Upgrade some hints to errors (#19)
These prevent building internally. Fix an unused import.
diff --git a/analysis_options.yaml b/analysis_options.yaml
index a10d4c5..743cc90 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1,2 +1,8 @@
analyzer:
strong-mode: true
+ # These are errors when building in Google
+ errors:
+ unused_import: error
+ unused_element: error
+ unused_local_variable: error
+ dead_code: error
diff --git a/lib/src/json_document_transformer.dart b/lib/src/json_document_transformer.dart
index 533d238..6377eed 100644
--- a/lib/src/json_document_transformer.dart
+++ b/lib/src/json_document_transformer.dart
@@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:async';
import 'dart:convert';
import 'package:async/async.dart';