Skip to content

Conversation

@unrevised6419
Copy link

@unrevised6419 unrevised6419 commented Nov 27, 2025

Overview

When having the ESLint config in a *.ts file, we have a TS error Could not find a declaration file for module './.wxt/eslint-auto-imports.mjs'

Before After
image image

Manual Testing

  1. Have ESLint 9 in your project
  2. have ESLint config be in a TS file
  3. Use WXT autoImports ESLint Plugin

@netlify
Copy link

netlify bot commented Nov 27, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit d4f8d98
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/693498153d7d4c0008bce4f0
😎 Deploy Preview https://deploy-preview-1981--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@unrevised6419 unrevised6419 changed the title fix(imports): generate d.ts file for eslint auto imports fix(imports): generate d.mts file for eslint auto imports Nov 27, 2025
@unrevised6419 unrevised6419 force-pushed the fix/eslint-auto-import-types branch 4 times, most recently from f80abba to 0aff6b4 Compare November 28, 2025 03:40
@unrevised6419 unrevised6419 force-pushed the fix/eslint-auto-import-types branch 3 times, most recently from b23b2bd to 30810fa Compare November 28, 2025 08:14
@unrevised6419 unrevised6419 force-pushed the fix/eslint-auto-import-types branch from 30810fa to 0710f52 Compare November 28, 2025 08:15
@unrevised6419 unrevised6419 changed the title fix(imports): generate d.mts file for eslint auto imports feat(imports): allow eslint >9, generate d.mts file for eslint auto imports Nov 28, 2025
@unrevised6419 unrevised6419 changed the title feat(imports): allow eslint >9, generate d.mts file for eslint auto imports fix(imports): generate d.mts file for eslint auto imports Nov 28, 2025
@unrevised6419 unrevised6419 marked this pull request as draft December 3, 2025 18:53
@unrevised6419 unrevised6419 force-pushed the fix/eslint-auto-import-types branch from 747ee15 to d4f8d98 Compare December 6, 2025 20:54
@unrevised6419 unrevised6419 marked this pull request as ready for review December 6, 2025 20:56
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.

1 participant