Skip to content

Commit 824d9a6

Browse files
author
Travis Sheppard
authored
chore: update flutter analysis to throw an error for depend_on_refere… (#1354)
1 parent cb5893a commit 824d9a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/amplify_lints/lib/dart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ include: package:lints/recommended.yaml
33
analyzer:
44
strong-mode:
55
implicit-dynamic: false
6+
errors:
7+
depend_on_referenced_packages: error # To prevent issues publishing.
68

79
linter:
810
rules:

packages/amplify_lints/lib/flutter_lib.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ include: package:flutter_lints/flutter.yaml
33
analyzer:
44
strong-mode:
55
implicit-dynamic: false
6+
errors:
7+
depend_on_referenced_packages: error # To prevent issues publishing.
68

79
linter:
810
rules:

0 commit comments

Comments
 (0)