Skip to content

[MOB-11554] Resolve lint warnings #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 20, 2025
Merged

[MOB-11554] Resolve lint warnings #506

merged 7 commits into from
Jun 20, 2025

Conversation

pauljung14
Copy link
Contributor

@pauljung14 pauljung14 commented Jun 11, 2025

JIRA Ticket(s) if any

Description

Warnings resolved:

WARNING in 
/Users/paul.jung/dev/iterable-web-sdk/react-example/src/components/EmbeddedForm.tsx
   55:11  warning  Unexpected console statement              no-console
   58:11  warning  Unexpected console statement              no-console
   64:9   warning  Unexpected console statement              no-console
   66:21  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   83:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   87:22  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  114:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  118:22  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  142:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  146:22  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  180:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  184:22  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/Users/paul.jung/dev/iterable-web-sdk/react-example/src/components/EventsForm.tsx
  17:21  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  47:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  51:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/Users/paul.jung/dev/iterable-web-sdk/react-example/src/views/Commerce.tsx
  34:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  38:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  51:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  55:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/Users/paul.jung/dev/iterable-web-sdk/react-example/src/views/EmbeddedMsgs.tsx
  114:9   warning  Unexpected console statement              no-console
  116:21  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  117:7   warning  Unexpected console statement              no-console
  239:42  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  240:21  warning  Unexpected console statement              no-console
  255:42  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  256:21  warning  Unexpected console statement              no-console
  271:42  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  272:21  warning  Unexpected console statement              no-console

/Users/paul.jung/dev/iterable-web-sdk/react-example/src/views/EmbeddedMsgsImpressionTracker.tsx
  54:22  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  94:9   warning  Unexpected console statement              no-console
  96:21  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  97:7   warning  Unexpected console statement              no-console

/Users/paul.jung/dev/iterable-web-sdk/react-example/src/views/Users.tsx
  46:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  50:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  60:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  65:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  76:24  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  80:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 38 problems (0 errors, 38 warnings)

Test Steps

  • Run yarn build in /react-example
  • There should be no lint errors/warnings

@pauljung14 pauljung14 requested a review from mprew97 as a code owner June 11, 2025 14:39
@codecov-commenter
Copy link

codecov-commenter commented Jun 11, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 65.01%. Comparing base (2c66989) to head (3c647ca).

Files with missing lines Patch % Lines
src/inapp/cache.ts 33.33% 2 Missing ⚠️
src/authorization/utils.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
+ Coverage   64.99%   65.01%   +0.01%     
==========================================
  Files          47       47              
  Lines        1794     1795       +1     
  Branches      553      568      +15     
==========================================
+ Hits         1166     1167       +1     
+ Misses        627      588      -39     
- Partials        1       40      +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pauljung14 pauljung14 merged commit 1ebb6ad into main Jun 20, 2025
1 check passed
@pauljung14 pauljung14 deleted the MOB-11554 branch June 20, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants