Skip to content

Commit 58564b7

Browse files
authored
Upgrade some hints to errors (flutter#19)
These prevent building internally. Fix an unused import.
1 parent fe4f7c5 commit 58564b7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

analysis_options.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
analyzer:
22
strong-mode: true
3+
# These are errors when building in Google
4+
errors:
5+
unused_import: error
6+
unused_element: error
7+
unused_local_variable: error
8+
dead_code: error

lib/src/json_document_transformer.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'dart:async';
65
import 'dart:convert';
76

87
import 'package:async/async.dart';

0 commit comments

Comments
 (0)