Skip to content

Commit

Permalink
Stricter linting (#89)
Browse files Browse the repository at this point in the history
* Stricter linting

* Update .gitignore

* WIP
  • Loading branch information
tomaszpolanski authored Jan 2, 2020
1 parent f605403 commit 056fcf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ analyzer:
todo: ignore
strong-mode:
implicit-dynamic: false
language:
strict-inference: true
strict-raw-types: true

linter:
rules:
Expand Down
7 changes: 6 additions & 1 deletion lib/animations_cheat_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@ class AnimationCheatSheet extends StatelessWidget {

class NoOverflow extends ScrollBehavior {
@override
Widget buildViewportChrome(context, child, axisDirection) => child;
Widget buildViewportChrome(
BuildContext context,
Widget child,
AxisDirection axisDirection,
) =>
child;
}

0 comments on commit 056fcf8

Please sign in to comment.