Skip to content

πŸ› Bug: Now-unnecessary no-unsafe-assignment disable in ESLint config for test filesΒ #2246

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

Now that vitest-dev/vitest#7016 is merged, created ESLint configs shouldn't need to disable any no-unsafe-* rules in test files.

Actual

https://github.com/JoshuaKGoldberg/create-typescript-app/blob/94e253e7c5922dd2818e9cf7e3540ae43ba794e8/eslint.config.js#L91C32-L91C53

Additional Info

Looks like the upstream PR was reverted for the current major version in vitest-dev/vitest#8129:

The team decided to revert the change until the next major version.

Marking this as blocked until Vitest 8 4.

🎁

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: blockedWaiting for something else to be resolvedtype: bugSomething isn't working :(

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions