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

fix: use tseslint v8(rc) + eslint v9 #119

Closed
wants to merge 1 commit into from
Closed

Conversation

aladdin-add
Copy link
Member

@aladdin-add aladdin-add commented May 18, 2024

it's another way to fix #89 (comment)

fixes #120

it's another way to fix #89 (comment)
@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label May 18, 2024
@@ -166,7 +166,7 @@ const compat = new FlatCompat({baseDirectory: __dirname, recommendedConfig: plug
}

if (this.answers.language === "typescript") {
this.result.devDependencies.push("typescript-eslint");
this.result.devDependencies.push("typescript-eslint@rc-v8");
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if we should be installing prerelease versions. Maybe rather wait a bit for the final v8.0.0?

Copy link
Member Author

@aladdin-add aladdin-add May 21, 2024

Choose a reason for hiding this comment

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

the problem: eslint v9 + tseslint(latest) could cause an installing error.

I also prepared a fix to use npm install --force: #118. Which one do you prefer?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I'd use --force for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
3 participants