style: use strict-casts and strict-raw-types

This commit is contained in:
Aleksey Kulikov 2022-01-10 11:53:12 +03:00
parent d86617d58b
commit ea0264ee14
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,9 @@
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-raw-types: true
strong-mode:
implicit-casts: false
implicit-dynamic: false

View file

@ -1000,7 +1000,7 @@ class Repository {
/// values respectively.
///
/// Throws a [LibGit2Error] if error occured.
List mergeAnalysis({
List<Object> mergeAnalysis({
required Oid theirHead,
String ourRef = 'HEAD',
}) {