Skip to content

Conversation

samholmes
Copy link
Contributor

@samholmes samholmes commented Aug 18, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

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

This came out great. Merge away, once Matt gets his big change in.

Comment on lines +49 to +62
new RegExp(
`^(\\s*)(['"])${stagedFile.replace(
/[.*+?^${}()|[\]\\]/g,
'\\$&'
)}\\2,?\\s*$`,
'gm'
),
new RegExp(
`^(\\s*)(['"])${stagedFile.replace(
/[.*+?^${}()|[\]\\]/g,
'\\$&'
)}\\2,?\\s*\n`,
'gm'
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Editing JS. Wow. Yeah. OK. We could probably do it more "dumb" than this, but I see that it probably works? So yay? We can leave it as-is, since it's temporary anyhow.

I know there was talk of putting the list into JSON, and then importing that into the ESLint config, but I guess that's not really needed now.

cursor[bot]

This comment was marked as outdated.

@samholmes samholmes disabled auto-merge September 3, 2025 01:10
@samholmes samholmes enabled auto-merge September 3, 2025 01:11
When developers modify files that are in the ESLint warnings list,
this pre-commit hook automatically removes those files from the
warnings list in eslint.config.mjs. This enforces that any touched
file must have its ESLint errors fixed before committing.

The update-eslint-warnings script runs before lint-staged in the
pre-commit hook, ensuring modified files are subject to full ESLint
error checking rather than just warnings. This helps gradually clean
up the codebase as developers work on different files.
@samholmes samholmes merged commit 3cbc764 into develop Sep 3, 2025
3 checks passed
@samholmes samholmes deleted the sam/eslint-config branch September 3, 2025 22:16
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.

2 participants