Skip to content

fix: differentiate every push event handler installed in app (#283) #83

fix: differentiate every push event handler installed in app (#283)

fix: differentiate every push event handler installed in app (#283) #83

GitHub Actions / eslint results succeeded Jun 26, 2024 in 1s

eslint results

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

Details

36 Warning(s):

Apps/APN/App.js line 108

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

Apps/APN/metro.config.js line 6

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

lib/commonjs/CustomerIOInAppMessaging.js line 9

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

lib/commonjs/CustomerIOInAppMessaging.js line 100

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

lib/commonjs/CustomerIOInAppMessaging.js line 112

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

lib/commonjs/CustomerIOInAppMessaging.js line 114

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

lib/commonjs/CustomerIOInAppMessaging.js line 116

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

lib/commonjs/CustomerIOInAppMessaging.js line 118

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

lib/commonjs/CustomerIOInAppMessaging.js line 120

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

lib/commonjs/CustomerIOPushMessaging.js line 6

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

lib/commonjs/CustomerIOPushMessaging.js line 116

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

lib/commonjs/CustomerioConfig.js line 9

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

lib/commonjs/CustomerioEnum.js line 6

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

lib/commonjs/CustomerioEnum.js line 21

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

lib/commonjs/CustomerioEnum.js line 31

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

lib/commonjs/CustomerioTracking.js line 6

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

lib/commonjs/CustomerioTracking.js line 66

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

lib/commonjs/CustomerioTracking.js line 71

  • Start Line: 71
  • End Line: 71
  • 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 10

  • Start Line: 10
  • End Line: 10
  • 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 10

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

lib/module/CustomerIOInAppMessaging.js line 86

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

lib/module/CustomerIOInAppMessaging.js line 95

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

lib/module/CustomerIOInAppMessaging.js line 97

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

lib/module/CustomerIOInAppMessaging.js line 99

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

lib/module/CustomerIOInAppMessaging.js line 101

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

lib/module/CustomerIOInAppMessaging.js line 103

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

lib/module/CustomerIOPushMessaging.js line 108

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

lib/module/CustomerioEnum.js line 12

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

lib/module/CustomerioEnum.js line 21

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

lib/module/CustomerioTracking.js line 49

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

lib/module/CustomerioTracking.js line 54

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

lib/module/types/PushClickBehaviorAndroid.js line 3

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

lib/module/types/PushPermissionStatus.js line 3

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

src/CustomerIOPushMessaging.tsx line 104

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

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/App.js#L108

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

Check warning on line 6 in Apps/APN/metro.config.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

Apps/APN/metro.config.js#L6

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

Check warning on line 9 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L9

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

Check warning on line 100 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L100

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

Check warning on line 112 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L112

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

Check warning on line 114 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L114

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

Check warning on line 116 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L116

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

Check warning on line 118 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L118

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

Check warning on line 120 in lib/commonjs/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOInAppMessaging.js#L120

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

Check warning on line 6 in lib/commonjs/CustomerIOPushMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOPushMessaging.js#L6

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

Check warning on line 116 in lib/commonjs/CustomerIOPushMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerIOPushMessaging.js#L116

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

Check warning on line 9 in lib/commonjs/CustomerioConfig.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioConfig.js#L9

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

Check warning on line 6 in lib/commonjs/CustomerioEnum.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioEnum.js#L6

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

Check warning on line 21 in lib/commonjs/CustomerioEnum.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioEnum.js#L21

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

Check warning on line 31 in lib/commonjs/CustomerioEnum.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioEnum.js#L31

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

Check warning on line 6 in lib/commonjs/CustomerioTracking.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioTracking.js#L6

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

Check warning on line 66 in lib/commonjs/CustomerioTracking.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioTracking.js#L66

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

Check warning on line 71 in lib/commonjs/CustomerioTracking.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/CustomerioTracking.js#L71

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

Check warning on line 6 in lib/commonjs/types/PushClickBehaviorAndroid.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/types/PushClickBehaviorAndroid.js#L6

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

Check warning on line 10 in lib/commonjs/types/PushClickBehaviorAndroid.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/types/PushClickBehaviorAndroid.js#L10

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

Check warning on line 6 in lib/commonjs/types/PushPermissionStatus.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/types/PushPermissionStatus.js#L6

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

Check warning on line 10 in lib/commonjs/types/PushPermissionStatus.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/commonjs/types/PushPermissionStatus.js#L10

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

Check warning on line 86 in lib/module/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/CustomerIOInAppMessaging.js#L86

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

Check warning on line 95 in lib/module/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/CustomerIOInAppMessaging.js#L95

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

Check warning on line 97 in lib/module/CustomerIOInAppMessaging.js

See this annotation in the file changed.

@github-actions github-actions / eslint results

lib/module/CustomerIOInAppMessaging.js#L97

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