Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Eslint to v9 #204

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Conversation

guilherme-andrade
Copy link
Contributor

@guilherme-andrade guilherme-andrade commented Dec 11, 2024

Hi! Came across the repo and decided to open this :) Upgrades Eslint to v9, maintaining the same configuration while using the new flat config syntax.

Resolves #185, closes #201

Copy link
Member

@MattIPv4 MattIPv4 left a comment

Choose a reason for hiding this comment

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

Thanks for working on this.

Please could you remove the old JSON eslint config?

eslint.config.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@MattIPv4 MattIPv4 requested a review from Copilot December 11, 2024 16:26
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 suggestion.

Files not reviewed (1)
  • package.json: Language not supported
Comments skipped due to low confidence (2)

eslint.config.js:2

  • [nitpick] The import alias 'tseslint' is inconsistent with the package name 'typescript-eslint'. Consider renaming it to 'typescriptEslint' for clarity.
import tseslint from "typescript-eslint";

eslint.config.js:4

  • [nitpick] The import alias 'eslintPluginPrettierRecommended' is unnecessarily verbose. Consider renaming it to 'prettierRecommended' for brevity.
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";

eslint.config.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
eslint.config.mjs Outdated Show resolved Hide resolved
eslint.config.mjs Outdated Show resolved Hide resolved
eslint.config.mjs Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@guilherme-andrade
Copy link
Contributor Author

guilherme-andrade commented Dec 12, 2024

@MattIPv4 I couldn't pick this up again today, but will look into it this ASAP. I'll use the main website's implementation as basis for the next iteration.

@MattIPv4
Copy link
Member

No worries, and thank you!

Copy link
Member

@MattIPv4 MattIPv4 left a comment

Choose a reason for hiding this comment

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

LGTM, tyvm

@MattIPv4 MattIPv4 merged commit d4a8f92 into alveusgg:main Dec 17, 2024
1 check passed
@MattIPv4
Copy link
Member

FYI if you're interested, alveusgg/data also has an eslint config that needs upgrading ;)

@guilherme-andrade guilherme-andrade deleted the upgrade-eslint-to-v9 branch December 17, 2024 17:09
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.

Update to ESLint v9 w/ flat config
2 participants