Repository navigation
Fix linter error for new cap rule from eslint upgrade - #8998
Merged
Merged
Conversation
hardillb
approved these changes
Oct 20, 2026
n-lark
enabled auto-merge (squash)
October 20, 2026 17:09
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8998 +/- ##
=======================================
Coverage 79.44% 79.44%
=======================================
Files 475 475
Lines 26017 26017
Branches 6934 6934
=======================================
Hits 20670 20670
Misses 5347 5347
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Clears the one lint error eslint 10 surfaces, ahead of #8785, so that PR stays a clean bump.
eslint 10 tightens
new-cap, which now flagsnew first.constructor(...)— a false positive, since.constructoris lowercase by definition. Assigning it toCtorfirst satisfies the rule without a disable comment or a config-wideproperties: false.Related Issue(s)
N/A
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel