Skip to content

chore: fix no-floating-promises and prefer-const lint rules#843

Closed
Shreyaskulkarni56 wants to merge 2 commits intoaccordproject:mainfrom
Shreyaskulkarni56:fix-lint-warnings
Closed

chore: fix no-floating-promises and prefer-const lint rules#843
Shreyaskulkarni56 wants to merge 2 commits intoaccordproject:mainfrom
Shreyaskulkarni56:fix-lint-warnings

Conversation

@Shreyaskulkarni56
Copy link
Copy Markdown

Closes #697

Summary

Fixes ESLint warning related to no-floating-promises in TemplateMarkdown handleChange and improves code quality by addressing prefer-const where applicable.

Changes

  • Handled floating promises to satisfy no-floating-promises rule
  • Replaced let with const where variables are not reassigned
  • Minor cleanup to comply with ESLint standards

Flags

  • No functional changes
  • Only lint-related improvements

Screenshots or Video

N/A

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:fix-lint-warnings

Signed-off-by: Shreyas <shreyaskulkarni051@gmail.com>
@Shreyaskulkarni56 Shreyaskulkarni56 requested a review from a team as a code owner March 20, 2026 18:33
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 20, 2026

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit d58f8fb
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/69bed622e3c5950008fb3f9c
😎 Deploy Preview https://deploy-preview-843--ap-template-playground.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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 6, 2026
@github-actions github-actions bot closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix ESLint no-floating-promises error in TemplateMarkdown handleChange

2 participants