Skip to content

Conversation

@didoesdigital
Copy link
Owner

This PR replaces "eslint-config-react-app" with individual eslint plugins and makes related changes. It also

  • Changes confetti related ARIA roles
  • Tweaks the homepage demo GIF to:
    • Remove large/small variants from markup and have only one image
    • Add toggle button semantics to play/pause the GIF
    • Simplify the positioning and responsive web behaviour using flex
    • Add support for Enter/Space to play/pause the GIF
    • Always show the static image when user prefers reduced motion
  • Adds a test for mapBriefToKoreanModernCStenoKeys.ts
  • Fixes a bunch of eslint rules like no-prototype-builtins
  • Adds a lot of // eslint-disable-next-line for various rules in order to set up the config
  • Switches an instance of string concatenation to template string
  • Auto-fixes prefer-const
  • Codemod removes unused React imports now that tsconfig.json uses "jsx": "react-jsx"
  • Removes a stray debugger;
  • Fixes an any with UserSettings
  • Checks typescript in vite dev and build
  • Adds "eslint-plugin-react-refresh"
  • Formatting

The click handler exists here so that people may rage click it to make
it go away, but there's also an actually accessible control in the
UserSettings panel
- Remove large/small variants from markup and have only one image
- Add toggle button semantics to play/pause the GIF
- Simplify the positioning and responsive web behaviour using flex
- Add support for Enter/Space to play/pause the GIF
- Always show the static image when user prefers reduced motion
npx react-codemod update-react-imports

No longer necessary because tsconfig.json has "jsx": "react-jsx"
We can use this again now that we've removed all the unused React
imports using the codemod
@didoesdigital didoesdigital merged commit f9225b4 into master Nov 9, 2025
1 check passed
@didoesdigital didoesdigital deleted the tweak-eslint-rules branch November 9, 2025 23:43
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