Skip to content

refactor: update sample apps with newer RN syntax #1034

refactor: update sample apps with newer RN syntax

refactor: update sample apps with newer RN syntax #1034

Triggered via push October 27, 2023 16:09
Status Success
Total duration 55s
Artifacts

test.yml

on: push
Test able to deploy to npm
36s
Test able to deploy to npm
Assert lint check passes and no lint errors exist
42s
Assert lint check passes and no lint errors exist
Fit to window
Zoom out
Zoom in

Annotations

68 warnings
Apps/APN/App.js#L108
[react-native/no-inline-styles] Inline style: { flex: 1 }
Apps/APN/metro.config.js#L6
[no-unused-vars] 'path' is assigned a value but never used.
Apps/APN/src/screens/Settings.js#L40
[no-unused-vars] 'setDeviceToken' is assigned a value but never used.
lib/commonjs/CustomerIOInAppMessaging.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L100
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 93 column 5.
lib/commonjs/CustomerIOInAppMessaging.js#L112
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L114
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L116
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L118
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L120
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOPushMessaging.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOPushMessaging.js#L107
[eqeqeq] Expected '===' and instead saw '=='.
lib/commonjs/CustomerioConfig.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioEnum.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioEnum.js#L21
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 12 column 5.
lib/commonjs/CustomerioEnum.js#L31
[no-shadow] 'Region' is already declared in the upper scope on line 28 column 5.
lib/commonjs/CustomerioTracking.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioTracking.js#L66
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioTracking.js#L71
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L10
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 7 column 5.
lib/module/CustomerIOInAppMessaging.js#L86
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 81 column 5.
lib/module/CustomerIOInAppMessaging.js#L95
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L97
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L99
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L101
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L103
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOPushMessaging.js#L99
[eqeqeq] Expected '===' and instead saw '=='.
lib/module/CustomerioEnum.js#L12
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 5 column 5.
lib/module/CustomerioEnum.js#L21
[no-shadow] 'Region' is already declared in the upper scope on line 19 column 5.
lib/module/CustomerioTracking.js#L49
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerioTracking.js#L54
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/types/PushPermissionStatus.js#L3
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.
src/CustomerIOPushMessaging.tsx#L95
[eqeqeq] Expected '===' and instead saw '=='.
Apps/APN/App.js#L108
[react-native/no-inline-styles] Inline style: { flex: 1 }
Apps/APN/metro.config.js#L6
[no-unused-vars] 'path' is assigned a value but never used.
Apps/APN/src/screens/Settings.js#L40
[no-unused-vars] 'setDeviceToken' is assigned a value but never used.
lib/commonjs/CustomerIOInAppMessaging.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L100
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 93 column 5.
lib/commonjs/CustomerIOInAppMessaging.js#L112
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L114
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L116
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L118
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOInAppMessaging.js#L120
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOPushMessaging.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerIOPushMessaging.js#L107
[eqeqeq] Expected '===' and instead saw '=='.
lib/commonjs/CustomerioConfig.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioEnum.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioEnum.js#L21
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 12 column 5.
lib/commonjs/CustomerioEnum.js#L31
[no-shadow] 'Region' is already declared in the upper scope on line 28 column 5.
lib/commonjs/CustomerioTracking.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioTracking.js#L66
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/CustomerioTracking.js#L71
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L10
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 7 column 5.
lib/module/CustomerIOInAppMessaging.js#L86
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 81 column 5.
lib/module/CustomerIOInAppMessaging.js#L95
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L97
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L99
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L101
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOInAppMessaging.js#L103
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerIOPushMessaging.js#L99
[eqeqeq] Expected '===' and instead saw '=='.
lib/module/CustomerioEnum.js#L12
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 5 column 5.
lib/module/CustomerioEnum.js#L21
[no-shadow] 'Region' is already declared in the upper scope on line 19 column 5.
lib/module/CustomerioTracking.js#L49
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/CustomerioTracking.js#L54
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/types/PushPermissionStatus.js#L3
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.
src/CustomerIOPushMessaging.tsx#L95
[eqeqeq] Expected '===' and instead saw '=='.