mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: use strict-casts and strict-raw-types
This commit is contained in:
parent
d86617d58b
commit
ea0264ee14
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
include: package:lints/recommended.yaml
|
include: package:lints/recommended.yaml
|
||||||
|
|
||||||
analyzer:
|
analyzer:
|
||||||
|
language:
|
||||||
|
strict-casts: true
|
||||||
|
strict-raw-types: true
|
||||||
strong-mode:
|
strong-mode:
|
||||||
implicit-casts: false
|
implicit-casts: false
|
||||||
implicit-dynamic: false
|
implicit-dynamic: false
|
||||||
|
|
|
@ -1000,7 +1000,7 @@ class Repository {
|
||||||
/// values respectively.
|
/// values respectively.
|
||||||
///
|
///
|
||||||
/// Throws a [LibGit2Error] if error occured.
|
/// Throws a [LibGit2Error] if error occured.
|
||||||
List mergeAnalysis({
|
List<Object> mergeAnalysis({
|
||||||
required Oid theirHead,
|
required Oid theirHead,
|
||||||
String ourRef = 'HEAD',
|
String ourRef = 'HEAD',
|
||||||
}) {
|
}) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue