Skip to content

lint

lint #2063

Triggered via push October 10, 2024 11:25
Status Success
Total duration 42s
Artifacts

test.yml

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

Annotations

103 warnings
Apps/APN/App.js#L107
[react-native/no-inline-styles] Inline style: { flex: 1 }
Apps/APN/src/screens/InternalSettings.js#L2
[no-unused-vars] 'Text' is defined but never used.
Apps/APN/src/screens/Settings.js#L15
[no-unused-vars] 'StyleSheet' is defined but never used.
src/customerio-push.ts#L118
[eqeqeq] Expected '===' and instead saw '=='.
lib/commonjs/cio-config.js#L10
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/cio-config.js#L11
[no-unused-vars] 'CioRegion' is assigned a value but never used.
lib/commonjs/cio-config.js#L11
[no-shadow] 'CioRegion' is already declared in the upper scope on line 11 column 5.
lib/commonjs/cio-config.js#L16
[no-unused-vars] 'CioLogLevel' is assigned a value but never used.
lib/commonjs/cio-config.js#L16
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 16 column 5.
lib/commonjs/cio-config.js#L23
[no-unused-vars] 'PushClickBehaviorAndroid' is assigned a value but never used.
lib/commonjs/cio-config.js#L24
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 23 column 5.
lib/commonjs/cio-config.js#L31
[no-unused-vars] 'CioPushPermissionStatus' is assigned a value but never used.
lib/commonjs/cio-config.js#L32
[no-shadow] 'CioPushPermissionStatus' is already declared in the upper scope on line 31 column 5.
lib/commonjs/customerio-cdp.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L33
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L69
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L70
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L31
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L105
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 104 column 5.
lib/commonjs/customerio-inapp.js#L117
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L118
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L119
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L120
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L121
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-push.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-push.js#L120
[eqeqeq] Expected '===' and instead saw '=='.
lib/commonjs/native-logger-listener.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushClickBehaviorAndroid.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushClickBehaviorAndroid.js#L7
[no-unused-vars] 'PushClickBehaviorAndroid' is assigned a value but never used.
lib/commonjs/types/PushClickBehaviorAndroid.js#L8
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 7 column 5.
lib/commonjs/types/PushPermissionStatus.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L7
[no-unused-vars] 'PushPermissionStatus' is assigned a value but never used.
lib/commonjs/types/PushPermissionStatus.js#L8
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 7 column 5.
lib/module/cio-config.js#L1
[no-shadow] 'CioRegion' is already declared in the upper scope on line 1 column 12.
lib/module/cio-config.js#L6
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 6 column 12.
lib/module/cio-config.js#L14
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 13 column 12.
lib/module/cio-config.js#L22
[no-shadow] 'CioPushPermissionStatus' is already declared in the upper scope on line 21 column 12.
lib/module/customerio-cdp.js#L22
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-cdp.js#L62
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-cdp.js#L63
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L21
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L94
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 94 column 5.
lib/module/customerio-inapp.js#L106
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L107
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L108
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L109
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L110
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-push.js#L114
[eqeqeq] Expected '===' and instead saw '=='.
lib/module/types/PushClickBehaviorAndroid.js#L2
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 1 column 12.
lib/module/types/PushPermissionStatus.js#L2
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.
Assert lint check passes and no lint errors exist
Unexpected input(s) 'repo-token', valid inputs are ['GITHUB_TOKEN', 'report-json', 'only-pr-files', 'fail-on-warning', 'fail-on-error', 'check-name', 'markdown-report-on-step-summary']
src/customerio-push.ts#L118
[eqeqeq] Expected '===' and instead saw '=='.
Apps/APN/App.js#L107
[react-native/no-inline-styles] Inline style: { flex: 1 }
Apps/APN/src/screens/InternalSettings.js#L2
[no-unused-vars] 'Text' is defined but never used.
Apps/APN/src/screens/Settings.js#L15
[no-unused-vars] 'StyleSheet' is defined but never used.
lib/commonjs/cio-config.js#L10
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/cio-config.js#L11
[no-unused-vars] 'CioRegion' is assigned a value but never used.
lib/commonjs/cio-config.js#L11
[no-shadow] 'CioRegion' is already declared in the upper scope on line 11 column 5.
lib/commonjs/cio-config.js#L16
[no-unused-vars] 'CioLogLevel' is assigned a value but never used.
lib/commonjs/cio-config.js#L16
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 16 column 5.
lib/commonjs/cio-config.js#L23
[no-unused-vars] 'PushClickBehaviorAndroid' is assigned a value but never used.
lib/commonjs/cio-config.js#L24
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 23 column 5.
lib/commonjs/cio-config.js#L31
[no-unused-vars] 'CioPushPermissionStatus' is assigned a value but never used.
lib/commonjs/cio-config.js#L32
[no-shadow] 'CioPushPermissionStatus' is already declared in the upper scope on line 31 column 5.
lib/commonjs/customerio-cdp.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L33
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L69
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-cdp.js#L70
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L9
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L31
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L105
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 104 column 5.
lib/commonjs/customerio-inapp.js#L117
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L118
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L119
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L120
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-inapp.js#L121
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-push.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/customerio-push.js#L120
[eqeqeq] Expected '===' and instead saw '=='.
lib/commonjs/native-logger-listener.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushClickBehaviorAndroid.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushClickBehaviorAndroid.js#L7
[no-unused-vars] 'PushClickBehaviorAndroid' is assigned a value but never used.
lib/commonjs/types/PushClickBehaviorAndroid.js#L8
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 7 column 5.
lib/commonjs/types/PushPermissionStatus.js#L6
[no-void] Expected 'undefined' and instead saw 'void'.
lib/commonjs/types/PushPermissionStatus.js#L7
[no-unused-vars] 'PushPermissionStatus' is assigned a value but never used.
lib/commonjs/types/PushPermissionStatus.js#L8
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 7 column 5.
lib/module/cio-config.js#L1
[no-shadow] 'CioRegion' is already declared in the upper scope on line 1 column 12.
lib/module/cio-config.js#L6
[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 6 column 12.
lib/module/cio-config.js#L14
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 13 column 12.
lib/module/cio-config.js#L22
[no-shadow] 'CioPushPermissionStatus' is already declared in the upper scope on line 21 column 12.
lib/module/customerio-cdp.js#L22
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-cdp.js#L62
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-cdp.js#L63
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L21
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L94
[no-shadow] 'InAppMessageEventType' is already declared in the upper scope on line 94 column 5.
lib/module/customerio-inapp.js#L106
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L107
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L108
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L109
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-inapp.js#L110
[no-void] Expected 'undefined' and instead saw 'void'.
lib/module/customerio-push.js#L114
[eqeqeq] Expected '===' and instead saw '=='.
lib/module/types/PushClickBehaviorAndroid.js#L2
[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 1 column 12.
lib/module/types/PushPermissionStatus.js#L2
[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.