Disable no-react-native-imports rule in Fantom tests (#49911)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49911

Changelog: [internal]

The approach in Fantom tests is to use the public API as much as we can, but forcing us to use relative imports in tests makes it harder to see what's the public API and what's not. This disables the lint rule so we can use package imports in Fantom tests without warnings/errors.

Reviewed By: sammy-SC

Differential Revision: D70779721

fbshipit-source-id: b244e6a36060e6bc60318fe285ffcf3a81a78acd
This commit is contained in:
Rubén Norte
2025-03-10 06:05:44 -07:00
committed by Facebook GitHub Bot
parent b52f0d8391
commit bc808a5a35
+6
View File
@@ -124,5 +124,11 @@ module.exports = {
],
},
},
{
files: ['**/*-itest{.fb,}.js'],
rules: {
'lint/no-react-native-imports': 'off',
},
},
],
};