Skip to content

fix: lint errors - #3014

Merged
SB-virendrasolanke merged 1 commit into
mainfrom
fix-stop-6698-lint-issue
Nov 19, 2026
Merged

SB-virendrasolanke merged 1 commit into
mainfrom
fix-stop-6698-lint-issue

Conversation

@SB-virendrasolanke

Copy link
Copy Markdown
Contributor

Motivation and Context

STOP-6698

The contactLink ternary added in AdditionalInfo.tsx as part of this ticket's fix was failing prettier/prettier lint rules due to indentation, causing yarn lint to fail with 5 errors.

Description

Reformatted the contactLink ternary in AdditionalInfo.tsx to match the project's prettier formatting:

const contactLink = contact?.email
  ? `[Contact ${contact.name || contact.email}](mailto:${contact.email})`
  : contact?.url
  ? `[Contact ${contact.name || contact.url}](${contact.url})`
  : '';

No logic changes — this is a formatting-only fix.

How Has This Been Tested?

  • yarn lint now passes with 0 errors.
  • yarn test.prod still passes, confirming no behavior change.

Screenshot(s)/recordings(s)

Screenshot 2026-11-19 at 11 30 26 AM

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • This PR's code follows as closely as possible the coding style/guidelines of this project.
  • I have added error reporting and followed the error reporting guidelines.
  • I have added event tracking and followed the event tracking guidelines.
  • I have updated any internal docs to reflect this PR's changes.
  • If this PR affects existing features or includes UI changes, I have reached out to the Tech Writers team OR added the s/needs-docs label.
  • I have added automated tests (unit/integration/e2e/other) to cover my changes.
  • All new and existing tests pass locally (excluding flaky CI tests).
  • If this PR completes a story or makes a substantial UX change, demo it to the Product Manager.

@netlify

netlify Bot commented Nov 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for stoplight-elements ready!

Name Link
🔨 Latest commit 05379e1
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements/deploys/6afe921cd7c79c03952343ef
😎 Deploy Preview https://deploy-preview-3014--stoplight-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for stoplight-elements-demo ready!

Name Link
🔨 Latest commit 05379e1
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements-demo/deploys/6afe921ca1b7bd7f342b2e4e
😎 Deploy Preview https://deploy-preview-3014--stoplight-elements-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SB-virendrasolanke
SB-virendrasolanke merged commit 4df2446 into main Nov 19, 2026
7 checks passed
@SB-virendrasolanke
SB-virendrasolanke deleted the fix-stop-6698-lint-issue branch November 19, 2026 12:28
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