robinloeffel / esbuild-plugin-eslint

Lint your esbuild bundles with eslint. 🧐
https://npmjs.com/esbuild-plugin-eslint
MIT License
7 stars 7 forks source link

Use the loadESLint helper if it's available #14

Open james-yeoman opened 6 months ago

james-yeoman commented 6 months ago

Ensures a smooth transition between v8 and v9

Improves upon the fix for #11 (some eslint plugins don't yet support the v9 API, e.g. eslint-plugin-react)

james-yeoman commented 5 months ago

@robinloeffel what's your opinion on this PR? Would you be willing to include this to help people like me who want to prepare for v9 flat config but can't use v9 directly due to plugin support? Or would you prefer if we wait for v9 to become GA?

robinloeffel commented 5 months ago

I'll wait a little longer, at least till @types/eslint has been updated to include this new functionality. I'd like to keep this package here as small and type-safe as possible.