-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact-native.js
More file actions
35 lines (34 loc) · 1.02 KB
/
Copy pathreact-native.js
File metadata and controls
35 lines (34 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
extends: [require.resolve('./react'), 'plugin:react-native/all'],
env: {
'react-native/react-native': true,
},
settings: {
// additional additional settings
'import/resolver': {
node: {
extensions: [
'.js',
'.jsx',
'.ts',
'.tsx',
'.ios.js',
'.ios.jsx',
'.ios.ts',
'.ios.tsx',
'.android.js',
'.android.jsx',
'.android.ts',
'.android.tsx',
'.native.js',
],
},
},
},
rules: {
// allow permissionAndroid being using without a .android.js
'react-native/split-platform-components': 'off',
// TODO: disable due to: https://github.com/Intellicode/eslint-plugin-react-native/issues/271
'react-native/no-raw-text': 'off',
},
};