Skip to content

Firefly-2110 ESLint identified error fixes - #2029

Merged
aventura121 merged 1 commit into
devfrom
FIREFLY-2110-eslint-error-fixes
Oct 6, 2026
Merged

aventura121 merged 1 commit into
devfrom
FIREFLY-2110-eslint-error-fixes

Conversation

@aventura121

@aventura121 aventura121 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Firefly-2110: "Scope ESLint/Fix Error Messages"

Description

Fixes ESLint violations that can be checked by reading the fix, then removes those rules from the warn list in eslint.config.mjs so they are errors again. We set missing semicolons back to error too.

  • Most fixes are mechanical: extra Boolean() casts, useless escapes, unreachable breaks, and obj.hasOwnProperty() calls.

  • Deletes util/expr/__test__/Expression-test.js, an old mocha test that Jest never ran, and a related comment that mentioned it.

  • Rules that still have violations stay at warn.

Build

https://firefly-2110-eslint-error-fixes-2.irsakubedev.ipac.caltech.edu/firefly

Testing

npx eslint . reports 0 errors on this branch.

@aventura121 aventura121 added this to the 2026.3 milestone Sep 30, 2026
@aventura121 aventura121 self-assigned this Sep 30, 2026
@aventura121
aventura121 force-pushed the FIREFLY-2110-eslint-error-fixes branch from e49ae91 to 26feee6 Compare October 1, 2026 15:40
@aventura121
aventura121 marked this pull request as ready for review October 1, 2026 21:56
Comment thread src/firefly/js/visualize/ui/CtxToolbarFunctions.js Outdated
@aventura121
aventura121 requested a review from robyww October 2, 2026 17:25

@jaladh-singhal jaladh-singhal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks for the cleanup!

Comment thread src/firefly/js/util/WebUtil.js Outdated
Comment thread src/firefly/js/visualize/draw/ShapeHighlight.js Outdated
@aventura121
aventura121 force-pushed the FIREFLY-2110-eslint-error-fixes branch from c0b5158 to f34a34c Compare October 6, 2026 21:26
@aventura121
aventura121 merged commit 6edf600 into dev Oct 6, 2026
2 checks passed
@aventura121
aventura121 deleted the FIREFLY-2110-eslint-error-fixes branch October 6, 2026 21:30
@jaladh-singhal jaladh-singhal modified the milestones: 2026.3, 2026.4 Oct 7, 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.

3 participants