Skip to content

feat: add option to disable screen view usage (#369)

Sign in for the full log view
GitHub Actions / eslint results succeeded Jan 6, 2025 in 1s

eslint results

0 ESLint error(s) and 57 ESLint warning(s) found

Details

57 Warning(s):

Apps/APN/App.js line 107

  • Start Line: 107
  • End Line: 107
  • Message: Inline style: { flex: 1 }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/InternalSettings.js line 2

  • Start Line: 2
  • End Line: 2
  • Message: 'Text' is defined but never used.
    • From: [no-unused-vars]

Apps/APN/src/screens/Settings.js line 15

  • Start Line: 15
  • End Line: 15
  • Message: 'StyleSheet' is defined but never used.
    • From: [no-unused-vars]

Apps/APN/src/screens/Settings.js line 251

  • Start Line: 251
  • End Line: 251
  • Message: Inline style: { backgroundColor: '#F0F0F5', borderRadius: 8 }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 257

  • Start Line: 257
  • End Line: 257
  • Message: Inline style: { flex: 1 }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 258

  • Start Line: 258
  • End Line: 260
  • Message: Inline style: { backgroundColor: '#4B48C9' }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 267

  • Start Line: 267
  • End Line: 269
  • Message: Inline style: { color: 'white' }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 278

  • Start Line: 278
  • End Line: 278
  • Message: Inline style: { flex: 1 }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 279

  • Start Line: 279
  • End Line: 281
  • Message: Inline style: { backgroundColor: '#4B48C9' }
    • From: [react-native/no-inline-styles]

Apps/APN/src/screens/Settings.js line 288

  • Start Line: 288
  • End Line: 290
  • Message: Inline style: { color: 'white' }
    • From: [react-native/no-inline-styles]

lib/commonjs/cio-config.js line 11

  • Start Line: 11
  • End Line: 11
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/cio-config.js line 12

  • Start Line: 12
  • End Line: 12
  • Message: 'CioRegion' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/cio-config.js line 12

  • Start Line: 12
  • End Line: 12
  • Message: 'CioRegion' is already declared in the upper scope on line 12 column 5.
    • From: [no-shadow]

lib/commonjs/cio-config.js line 22

  • Start Line: 22
  • End Line: 22
  • Message: 'ScreenView' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/cio-config.js line 22

  • Start Line: 22
  • End Line: 22
  • Message: 'ScreenView' is already declared in the upper scope on line 22 column 5.
    • From: [no-shadow]

lib/commonjs/cio-config.js line 27

  • Start Line: 27
  • End Line: 27
  • Message: 'CioLogLevel' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/cio-config.js line 27

  • Start Line: 27
  • End Line: 27
  • Message: 'CioLogLevel' is already declared in the upper scope on line 27 column 5.
    • From: [no-shadow]

lib/commonjs/cio-config.js line 34

  • Start Line: 34
  • End Line: 34
  • Message: 'PushClickBehaviorAndroid' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/cio-config.js line 35

  • Start Line: 35
  • End Line: 35
  • Message: 'PushClickBehaviorAndroid' is already declared in the upper scope on line 34 column 5.
    • From: [no-shadow]

lib/commonjs/cio-config.js line 42

  • Start Line: 42
  • End Line: 42
  • Message: 'CioPushPermissionStatus' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/cio-config.js line 43

  • Start Line: 43
  • End Line: 43
  • Message: 'CioPushPermissionStatus' is already declared in the upper scope on line 42 column 5.
    • From: [no-shadow]

lib/commonjs/customerio-cdp.js line 6

  • Start Line: 6
  • End Line: 6
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-cdp.js line 33

  • Start Line: 33
  • End Line: 33
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 9

  • Start Line: 9
  • End Line: 9
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 31

  • Start Line: 31
  • End Line: 31
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 105

  • Start Line: 105
  • End Line: 105
  • Message: 'InAppMessageEventType' is already declared in the upper scope on line 104 column 5.
    • From: [no-shadow]

lib/commonjs/customerio-inapp.js line 117

  • Start Line: 117
  • End Line: 117
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 118

  • Start Line: 118
  • End Line: 118
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 119

  • Start Line: 119
  • End Line: 119
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 120

  • Start Line: 120
  • End Line: 120
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-inapp.js line 121

  • Start Line: 121
  • End Line: 121
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-push.js line 6

  • Start Line: 6
  • End Line: 6
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/customerio-push.js line 120

  • Start Line: 120
  • End Line: 120
  • Message: Expected '===' and instead saw '=='.
    • From: [eqeqeq]

lib/commonjs/native-logger-listener.js line 6

  • Start Line: 6
  • End Line: 6
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/types/PushClickBehaviorAndroid.js line 6

  • Start Line: 6
  • End Line: 6
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/types/PushClickBehaviorAndroid.js line 7

  • Start Line: 7
  • End Line: 7
  • Message: 'PushClickBehaviorAndroid' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/types/PushClickBehaviorAndroid.js line 8

  • Start Line: 8
  • End Line: 8
  • Message: 'PushClickBehaviorAndroid' is already declared in the upper scope on line 7 column 5.
    • From: [no-shadow]

lib/commonjs/types/PushPermissionStatus.js line 6

  • Start Line: 6
  • End Line: 6
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/commonjs/types/PushPermissionStatus.js line 7

  • Start Line: 7
  • End Line: 7
  • Message: 'PushPermissionStatus' is assigned a value but never used.
    • From: [no-unused-vars]

lib/commonjs/types/PushPermissionStatus.js line 8

  • Start Line: 8
  • End Line: 8
  • Message: 'PushPermissionStatus' is already declared in the upper scope on line 7 column 5.
    • From: [no-shadow]

lib/module/cio-config.js line 1

  • Start Line: 1
  • End Line: 1
  • Message: 'CioRegion' is already declared in the upper scope on line 1 column 12.
    • From: [no-shadow]

lib/module/cio-config.js line 12

  • Start Line: 12
  • End Line: 12
  • Message: 'ScreenView' is already declared in the upper scope on line 12 column 12.
    • From: [no-shadow]

lib/module/cio-config.js line 17

  • Start Line: 17
  • End Line: 17
  • Message: 'CioLogLevel' is already declared in the upper scope on line 17 column 12.
    • From: [no-shadow]

lib/module/cio-config.js line 25

  • Start Line: 25
  • End Line: 25
  • Message: 'PushClickBehaviorAndroid' is already declared in the upper scope on line 24 column 12.
    • From: [no-shadow]

lib/module/cio-config.js line 33

  • Start Line: 33
  • End Line: 33
  • Message: 'CioPushPermissionStatus' is already declared in the upper scope on line 32 column 12.
    • From: [no-shadow]

lib/module/customerio-cdp.js line 22

  • Start Line: 22
  • End Line: 22
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 21

  • Start Line: 21
  • End Line: 21
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 94

  • Start Line: 94
  • End Line: 94
  • Message: 'InAppMessageEventType' is already declared in the upper scope on line 94 column 5.
    • From: [no-shadow]

lib/module/customerio-inapp.js line 106

  • Start Line: 106
  • End Line: 106
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 107

  • Start Line: 107
  • End Line: 107
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 108

  • Start Line: 108
  • End Line: 108
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 109

  • Start Line: 109
  • End Line: 109
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-inapp.js line 110

  • Start Line: 110
  • End Line: 110
  • Message: Expected 'undefined' and instead saw 'void'.
    • From: [no-void]

lib/module/customerio-push.js line 114

  • Start Line: 114
  • End Line: 114
  • Message: Expected '===' and instead saw '=='.
    • From: [eqeqeq]

lib/module/types/PushClickBehaviorAndroid.js line 2

  • Start Line: 2
  • End Line: 2
  • Message: 'PushClickBehaviorAndroid' is already declared in the upper scope on line 1 column 12.
    • From: [no-shadow]

lib/module/types/PushPermissionStatus.js line 2

  • Start Line: 2
  • End Line: 2
  • Message: 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.
    • From: [no-shadow]

src/customerio-push.ts line 118

  • Start Line: 118
  • End Line: 118
  • Message: Expected '===' and instead saw '=='.
    • From: [eqeqeq]

Annotations

Check warning on line 108 in lib/module/customerio-inapp.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/customerio-inapp.js#L108

[no-void] Expected 'undefined' and instead saw 'void'.

Check warning on line 109 in lib/module/customerio-inapp.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/customerio-inapp.js#L109

[no-void] Expected 'undefined' and instead saw 'void'.

Check warning on line 107 in Apps/APN/App.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/App.js#L107

[react-native/no-inline-styles] Inline style: { flex: 1 }

Check warning on line 110 in lib/module/customerio-inapp.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/customerio-inapp.js#L110

[no-void] Expected 'undefined' and instead saw 'void'.

Check warning on line 2 in Apps/APN/src/screens/InternalSettings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/InternalSettings.js#L2

[no-unused-vars] 'Text' is defined but never used.

Check warning on line 114 in lib/module/customerio-push.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/customerio-push.js#L114

[eqeqeq] Expected '===' and instead saw '=='.

Check warning on line 15 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L15

[no-unused-vars] 'StyleSheet' is defined but never used.

Check warning on line 2 in lib/module/types/PushClickBehaviorAndroid.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/types/PushClickBehaviorAndroid.js#L2

[no-shadow] 'PushClickBehaviorAndroid' is already declared in the upper scope on line 1 column 12.

Check warning on line 2 in lib/module/types/PushPermissionStatus.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/types/PushPermissionStatus.js#L2

[no-shadow] 'PushPermissionStatus' is already declared in the upper scope on line 1 column 12.

Check warning on line 251 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L251

[react-native/no-inline-styles] Inline style: { backgroundColor: '#F0F0F5', borderRadius: 8 }

Check warning on line 118 in src/customerio-push.ts

See this annotation in the file changed.

@github-actions github-actions / eslint results

src/customerio-push.ts#L118

[eqeqeq] Expected '===' and instead saw '=='.

Check warning on line 257 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L257

[react-native/no-inline-styles] Inline style: { flex: 1 }

Check warning on line 260 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L258-L260

[react-native/no-inline-styles] Inline style: { backgroundColor: '#4B48C9' }

Check warning on line 269 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L267-L269

[react-native/no-inline-styles] Inline style: { color: 'white' }

Check warning on line 278 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L278

[react-native/no-inline-styles] Inline style: { flex: 1 }

Check warning on line 281 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L279-L281

[react-native/no-inline-styles] Inline style: { backgroundColor: '#4B48C9' }

Check warning on line 290 in Apps/APN/src/screens/Settings.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/src/screens/Settings.js#L288-L290

[react-native/no-inline-styles] Inline style: { color: 'white' }

Check warning on line 11 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L11

[no-void] Expected 'undefined' and instead saw 'void'.

Check warning on line 12 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L12

[no-unused-vars] 'CioRegion' is assigned a value but never used.

Check warning on line 12 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L12

[no-shadow] 'CioRegion' is already declared in the upper scope on line 12 column 5.

Check warning on line 22 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L22

[no-unused-vars] 'ScreenView' is assigned a value but never used.

Check warning on line 22 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L22

[no-shadow] 'ScreenView' is already declared in the upper scope on line 22 column 5.

Check warning on line 27 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L27

[no-unused-vars] 'CioLogLevel' is assigned a value but never used.

Check warning on line 27 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L27

[no-shadow] 'CioLogLevel' is already declared in the upper scope on line 27 column 5.

Check warning on line 34 in lib/commonjs/cio-config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/cio-config.js#L34

[no-unused-vars] 'PushClickBehaviorAndroid' is assigned a value but never used.