oxc-project / eslint-plugin-oxlint

Turn off all rules already supported by oxlint
MIT License
186 stars 12 forks source link

fix: add missing types entry in package.json #227

Closed cheezone closed 3 weeks ago

cheezone commented 3 weeks ago

This change addresses an issue where VSCode (1.9X) could not locate the TypeScript declaration file, resulting in a "Cannot find module "eslint-plugin-oxlint" ts(2307)" error. Adding "types": "./dist/index.d.ts" to package.json ensures that TypeScript definitions are correctly referenced, enhancing editor support and avoiding import errors in TypeScript projects.