eslint-plugin-react-native icon indicating copy to clipboard operation
eslint-plugin-react-native copied to clipboard

Spec files that import a split component file throw error

Open phillipkey opened this issue 6 years ago • 0 comments

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.

phillipkey avatar Mar 10 '19 23:03 phillipkey