add ignore back in
diff --git a/pkgs/hooks/lib/src/avoid_import_outside_src_rule_test.dart b/pkgs/hooks/lib/src/avoid_import_outside_src_rule_test.dart
new file mode 100644
index 0000000..d88036a
--- /dev/null
+++ b/pkgs/hooks/lib/src/avoid_import_outside_src_rule_test.dart
@@ -0,0 +1,9 @@
+// Copyright (c) 2025, the Dart project authors.  Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// ignore: native_analyzer_plugin/avoid_import_outside_src
+import '../hooks.dart';
+
+/// A random use of a type.
+const x = Builder;