Skip to content

Commit 8215af2

Browse files
authored
[objective_c] clean up unnecessary ignore_for_files (#2752)
1 parent 988eebe commit 8215af2

File tree

7 files changed

+1
-26
lines changed

7 files changed

+1
-26
lines changed

pkgs/objective_c/ffigen_c.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,4 @@ preamble: |
7878
// Bindings for `src/objective_c.h` and `src/objective_c_runtime.h`.
7979
// Regenerate bindings with `dart run tool/generate_code.dart`.
8080
81-
// ignore_for_file: always_specify_types
82-
// ignore_for_file: camel_case_types
83-
// ignore_for_file: non_constant_identifier_names
84-
// ignore_for_file: unused_element
8581
// coverage:ignore-file

pkgs/objective_c/ffigen_objc.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,4 @@ preamble: |
193193
// Bindings for `src/foundation.h`.
194194
// Regenerate bindings with `dart run tool/generate_code.dart`.
195195
196-
// ignore_for_file: always_specify_types
197-
// ignore_for_file: camel_case_types
198-
// ignore_for_file: non_constant_identifier_names
199-
// ignore_for_file: unnecessary_non_null_assertion
200-
// ignore_for_file: unused_element
201-
// ignore_for_file: unused_field
202196
// coverage:ignore-file

pkgs/objective_c/lib/src/c_bindings_generated.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
// Bindings for `src/objective_c.h` and `src/objective_c_runtime.h`.
66
// Regenerate bindings with `dart run tool/generate_code.dart`.
77

8-
// ignore_for_file: always_specify_types
9-
// ignore_for_file: camel_case_types
10-
// ignore_for_file: non_constant_identifier_names
11-
// ignore_for_file: unused_element
128
// coverage:ignore-file
139

1410
// AUTO GENERATED FILE, DO NOT EDIT.

pkgs/objective_c/lib/src/objective_c_bindings_generated.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
// Bindings for `src/foundation.h`.
66
// Regenerate bindings with `dart run tool/generate_code.dart`.
77

8-
// ignore_for_file: always_specify_types
9-
// ignore_for_file: camel_case_types
10-
// ignore_for_file: non_constant_identifier_names
11-
// ignore_for_file: unnecessary_non_null_assertion
12-
// ignore_for_file: unused_element
13-
// ignore_for_file: unused_field
148
// coverage:ignore-file
159

1610
// AUTO GENERATED FILE, DO NOT EDIT.

pkgs/objective_c/test/setup.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// we can't use Flutter's build system. So this script builds a dylib containing
88
// all that native code.
99

10-
// ignore_for_file: avoid_print
11-
1210
import 'dart:ffi';
1311
import 'dart:io';
1412

pkgs/objective_c/test/util.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// ignore_for_file: avoid_catching_errors
6-
75
import 'dart:ffi';
86

97
import 'package:ffi/ffi.dart';
@@ -21,6 +19,7 @@ final _executeInternalCommand = () {
2119
'Dart_ExecuteInternalCommand',
2220
)
2321
.asFunction<void Function(Pointer<Char>, Pointer<Void>)>();
22+
// ignore: avoid_catching_errors
2423
} on ArgumentError {
2524
return null;
2625
}

pkgs/objective_c/tool/generate_code.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// Runs the FFIgen configs, then merges tool/data/extra_methods.dart.in into the
66
// Objective C bindings.
77

8-
// ignore_for_file: avoid_print
9-
108
import 'dart:io';
119

1210
import 'package:args/args.dart';

0 commit comments

Comments
 (0)