Skip to content

Commit

Permalink
Merge pull request #168 from mehmetf/master
Browse files Browse the repository at this point in the history
Escalate the severity of unused imports in analyzer
  • Loading branch information
luigi-rosso committed Oct 8, 2019
2 parents 5ca8d49 + f1d9749 commit dc68dea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion flare_dart/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
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 dc68dea

Please sign in to comment.