diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 06d77287b..e43f76a61 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -111,7 +111,7 @@ jobs: with: path: './flutter/coverage/lcov.info' min_coverage: 90 - # 'native/c' for now because we run coverage on Linux where these are not tested yet. + # 'native/c' for now because we run coverage on Linux where these are not tested yet. exclude: 'lib/src/native/cocoa/binding.dart lib/src/native/c/*' - name: Build ${{ matrix.target }} diff --git a/flutter/analysis_options.yaml b/flutter/analysis_options.yaml index 5763c67d6..d95702842 100644 --- a/flutter/analysis_options.yaml +++ b/flutter/analysis_options.yaml @@ -3,7 +3,6 @@ include: package:flutter_lints/flutter.yaml analyzer: exclude: - test/*.mocks.dart - - lib/src/native/c/binding.dart language: strict-casts: true strict-inference: true diff --git a/flutter/ffi-native.yaml b/flutter/ffi-native.yaml index 4d59bfaa2..cdb28b223 100644 --- a/flutter/ffi-native.yaml +++ b/flutter/ffi-native.yaml @@ -71,3 +71,5 @@ unions: comments: style: any length: full +preamble: | + // ignore_for_file: unused_field diff --git a/flutter/lib/src/native/c/binding.dart b/flutter/lib/src/native/c/binding.dart index 059d9c9ea..5d944edf0 100644 --- a/flutter/lib/src/native/c/binding.dart +++ b/flutter/lib/src/native/c/binding.dart @@ -1,3 +1,5 @@ +// ignore_for_file: unused_field + // AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`.