Stirling-PDF/frontend/src/utils
Ludy d4985f57d4
style(frontend): standardize semicolons across TS/JS configs and components (#4525)
# Description of Changes

- **What was changed**
- Added missing trailing semicolons across React components, utilities,
tests, and build/test configs to ensure consistent formatting.
- Normalized arrow-function assignments to end with semicolons (e.g.,
`const fn = () => { ... };`).
- Harmonized imports/exports and object literals in configuration files
to terminate statements with semicolons.
  - Updated test setup files and mocks to consistently use semicolons.

- **Why the change was made**
- Aligns the codebase with ESLint/Prettier conventions to prevent
auto-format churn and avoid ASI (automatic semicolon insertion) edge
cases.
- Improves readability and produces cleaner diffs in future
contributions.

---

## Checklist

### General

- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md)
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md)
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings

### Documentation

- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/)
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags)
(for new translation tags only)

### UI Changes (if applicable)

- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)

### Testing (if applicable)

- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing)
for more details.

---------

Co-authored-by: Reece Browne <74901996+reecebrowne@users.noreply.github.com>
2025-09-29 12:55:53 +01:00
..
bulkselection change bulk selection panel to allow more versatile input (#4394) 2025-09-18 10:19:52 +00:00
automationExecutor.ts V2 Auto rename (#4244) 2025-09-05 17:12:52 +01:00
automationFileProcessor.ts Enable ESLint no-unused-vars rule (#4367) 2025-09-05 11:16:17 +00:00
clickHandlers.ts Urls for tools for scrapers and open in new tab support (#4364) 2025-09-05 11:35:17 +00:00
convertUtils.test.ts V2: Convert Tool (#3828) 2025-08-01 16:08:04 +01:00
convertUtils.ts Feature/v2/automate (#4248) 2025-08-22 14:40:27 +01:00
cropCoordinates.ts Add Crop to V2 (#4471) 2025-09-22 14:06:20 +01:00
downloadUtils.ts Feature/v2/filehistory (#4370) 2025-09-16 15:08:11 +01:00
fileHash.ts Stirling 2.0 (#3928) 2025-07-16 17:53:50 +01:00
fileHistoryUtils.ts Feature/v2/filehistory (#4370) 2025-09-16 15:08:11 +01:00
fileIdSafety.ts Feature/v2/filewithid implementation (#4369) 2025-09-05 11:33:03 +01:00
fileResponseUtils.test.ts V2: Convert Tool (#3828) 2025-08-01 16:08:04 +01:00
fileResponseUtils.ts Enable ESLint no-unused-vars rule (#4367) 2025-09-05 11:16:17 +00:00
fileUtils.ts Feature/v2/file handling improvements (#4222) 2025-08-21 17:30:26 +01:00
fuzzySearch.ts Feature/v2/fuzzy tool search (#4482) 2025-09-25 16:32:30 +01:00
genericUtils.ts Feature/v2/tooltips (#4112) 2025-08-08 12:09:41 +01:00
languageMapping.ts Tools/ocr/v2 (#4055) 2025-08-01 14:22:19 +01:00
pageSelection.ts Feature/v2/remove pages (#4445) 2025-09-18 09:51:55 +01:00
resourceManager.ts Feature/v2/automate (#4248) 2025-08-22 14:40:27 +01:00
scarfTracking.ts style(frontend): standardize semicolons across TS/JS configs and components (#4525) 2025-09-29 12:55:53 +01:00
sidebarUtils.ts Feature/v2/tooltips (#4112) 2025-08-08 12:09:41 +01:00
signatureFlattening.ts Feature/v2/sign (#4485) 2025-09-26 19:11:03 +01:00
storageUtils.ts Feature/v2/file handling improvements (#4222) 2025-08-21 17:30:26 +01:00
textUtils.ts Feature/v2/watermark (#4215) 2025-08-19 10:31:44 +01:00
thumbnailUtils.ts Update PDF.js integration and dependencies (#4360) 2025-09-24 13:07:27 +01:00
toolErrorHandler.ts Feature/toasts and error handling (#4496) 2025-09-25 21:03:53 +01:00
toolResponseProcessor.ts Feature/v2/filehistory (#4370) 2025-09-16 15:08:11 +01:00
toolSearch.ts Feature/v2/fuzzy tool search (#4482) 2025-09-25 16:32:30 +01:00
toolSynonyms.ts Feature/v2/fuzzy tool search (#4482) 2025-09-25 16:32:30 +01:00
urlMapping.ts remove tools (#4513) 2025-09-26 15:42:23 +01:00
urlRouting.ts path (#4488) 2025-09-24 20:37:51 +01:00