Skip to content

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Sep 5, 2024

No description provided.

@nex3 nex3 requested a review from jathak September 5, 2024 01:06
@nex3 nex3 removed the request for review from jathak September 5, 2024 01:24
@nex3 nex3 marked this pull request as draft September 5, 2024 01:24
Copy link
Contributor

@stof stof left a comment

Choose a reason for hiding this comment

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

should the eslint config be migrated to flat config first instead of exposing a config in the old format ? Eslint 9 does not support legacy configs anymore.

"copyfiles": "^2.4.1",
"eslint-plugin-import": "^2.30.0",
"expect": "^29.7.0",
"gts": "^5.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

is it needed to still have a direct dependency on ègts or is the transitive dependency enough (sass-analysiswill use its owngts` dependency)

@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts/tsconfig-google.json"
Copy link
Contributor

Choose a reason for hiding this comment

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

does this work if gts is hoisted differently ? It should probably use gts/tsconfig-google.json instead, relying on the node-style resolution of the package

@nex3
Copy link
Contributor Author

nex3 commented Sep 18, 2025

Unfortunately, it seems that gts is still not compatible with eslint flat configs (google/gts#830). I don't think we can land this without either that or moving away from GTS entirely.

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