eslint-plugin-react-native
eslint-plugin-react-native copied to clipboard
Spec files that import a split component file throw error
I have the following file name for a jest test file: permissions.android.spec.js. This file imports PermissionsAndroid in it in order to mock the request function. This is triggering the linter for a Android components should be placed in android files violation. This is not allowing me to unit test this file while including this rule in the lint configuration.