Skip to content

Conversation

dschom
Copy link
Contributor

@dschom dschom commented Oct 2, 2025

Because

  • The eslintrc.json didn't match fxa-settings eslintrc.json
  • The prettier rules and the previous eslintrc.json rules conflicted

This pull request

  • Applies the eslintrc.json config in settings to fxa-react
  • Fixes all the problems...

Issue that this pull request solves

Closes: (issue number)

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

I ran into these problems while working on #19531.

@dschom dschom requested a review from a team as a code owner October 2, 2025 16:59
Copy link
Contributor

@vbudhram vbudhram left a comment

Choose a reason for hiding this comment

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

@dschom LGTM, almost fixed them all

/home/circleci/project/********/fxa-react/components/AppErrorDialog/index.stories.tsx
  1:1  error  missing header  header/header

/home/circleci/project/********/fxa-react/components/AppErrorDialog/index.tsx
  5:17  error  'ReactNode' is defined but never used  @typescript-eslint/no-unused-vars

✖ 2 problems (2 errors, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

Because:
- The eslintrc.json didn't match fxa-settings eslintrc.json
- The prettier rules and the previous eslintrc.json rules conflicted

This Commit:
- Applies the eslintrc.json config in settings to fxa-react
- Fixes all the problems...
@dschom dschom force-pushed the fix-fxa-react-eslint branch from a19ccfd to f48996f Compare October 2, 2025 19:15
@dschom dschom merged commit 2c68942 into main Oct 2, 2025
19 checks passed
@dschom dschom deleted the fix-fxa-react-eslint branch October 2, 2025 19:56
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