Skip to content

Conversation

@rxmarbles
Copy link
Member

@rxmarbles rxmarbles commented Dec 21, 2024

Summary

This PR upgrades all eslint configs to use v9. I know that in eslint >= 8.23 flat config is supported however, feasibly I do not want to make these config semi backwards. Better to do the breaking change now and just keep a v8 branch for patch/bug updates. I've also removed the flow based configs. I know Flow is still around and utilized but we no longer support its use internally at GoDaddy. If there are hard opinions to this I do not mind bringing them back in this PR and migrating them to v9. I've also remove the CLI portion of these libraries as we should only be using the eslint binary directly.

The biggest question here is should be using all the custom rules we have established here or should we be leveraging the industry standards. A lot of our rules are outdated and often times conflicted with a lot of recommended configs and plugins. IMHO we should probably lean that way and allow the consumer to decide if they want to modify the rules they want to have. The config should mostly provide the additional configs and plugins (such as the react, mocha, node, ect.) doing this keep their configs small but still allows for flexibility.

Changeset

  • Changeset added (docs)

Test Plan

These have been tested locally to make

BREAKING CHANGE: This removes v8 from being supported and moves to flat config
BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config
BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config
BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config
@rxmarbles rxmarbles requested a review from a team as a code owner December 21, 2024 08:33

chore(eslint)!: migrate all eslint configs to eslint@v9

BREAKING CHANGE: removes v8 support and transistions configs to flat config
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to explicitly call out that these are now type:module instead of the previous cjs format.

@3rd-Eden
Copy link
Contributor

3rd-Eden commented Dec 25, 2024

know Flow is still around and utilized but we no longer support its use internally at GoDaddy.

There's 3 (normie), 9 (react) projects still depending on this package internally, but I agree, that it's not enough to warrent keeping this configuration around.

@rxmarbles rxmarbles merged commit 16301df into main Jan 17, 2025
3 checks passed
@rxmarbles rxmarbles deleted the rm/eslint-9 branch January 17, 2025 16:52
wcole1-godaddy pushed a commit that referenced this pull request Oct 13, 2025
* chore(eslint)!: migrate eslint-config-godaddy to v9

BREAKING CHANGE: This removes v8 from being supported and moves to flat config

* chore(flow)!: remove flow config as no longer supported

* chore(eslint)!: migrate godaddy-react to v9

BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config

* chore(eslint)!: migrate godaddy-react-typescript to v9

BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config

* chore(eslint)!: migrate godaddy-typescript to v9

BREAKING CHANGE: This removes eslint@v8 from support and moves to flat config

* chore(changeset) add changeset for major bump

* chore: address comments

* doc: update READMEs

* chore: update changsets despcription

* chore(pkg): update package.jsons
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.

8 participants