Skip to content

Commit

Permalink
Escalate the severity of unused imports in analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetf committed Oct 8, 2019
1 parent 5ca8d49 commit 64f395e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion flare_flutter/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
unused_import: error

linter:
rules:
Expand Down Expand Up @@ -85,7 +87,7 @@ linter:
- prefer_is_empty
- prefer_is_not_empty
- prefer_iterable_whereType
- prefer_mixin
# - prefer_mixin
- prefer_null_aware_operators
- prefer_typing_uninitialized_variables
- prefer_void_to_null
Expand Down
1 change: 0 additions & 1 deletion flare_flutter/lib/flare.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import 'package:flare_dart/actor_rectangle.dart';
import 'package:flare_dart/actor_star.dart';
import 'package:flare_dart/actor_triangle.dart';
import 'package:flare_dart/actor_color.dart';
import 'package:flare_dart/actor_node.dart';
import 'package:flare_dart/actor_drawable.dart';
import 'package:flare_dart/math/mat2d.dart';
import 'package:flare_dart/math/vec2d.dart';
Expand Down

0 comments on commit 64f395e

Please sign in to comment.