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

Make an ESLint Plugin version #70

Open
matt-kinton opened this issue Dec 14, 2023 · 3 comments
Open

Make an ESLint Plugin version #70

matt-kinton opened this issue Dec 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@matt-kinton
Copy link

matt-kinton commented Dec 14, 2023

This might not be possible due to it being written in Rust and based on SWC but this feels like it would be perfect as an Eslint plugin.

Loving the vscode extension anyway!

@matt-kinton matt-kinton changed the title Make it an ESLint Plugin Make an ESLint Plugin version Dec 14, 2023
@michaelangeloio michaelangeloio added the enhancement New feature or request label Dec 16, 2023
@michaelangeloio
Copy link
Owner

This actually may be possible if ESLint supports WASM. Will let you know!

@michaelangeloio
Copy link
Owner

So I did quite a bit of research, including trying to make an eslint custom processor: https://eslint.org/docs/latest/extend/custom-processors

TLDR: Eslint doesn't support async processors, which we heavily rely on. Here's a really good thread for context: eslint/eslint#15475

ESLint will eventually do a rewrite (eslint/eslint#15475), so when they allow for custom processors with async, we can revisit this!

@reececomo
Copy link

Awesome! Very useful @michaelangeloio, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants