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

Figure out a way to pack eslint via webpack #1094

Open
pano9000 opened this issue Jan 31, 2025 · 0 comments
Open

Figure out a way to pack eslint via webpack #1094

pano9000 opened this issue Jan 31, 2025 · 0 comments

Comments

@pano9000
Copy link
Contributor

@pano9000 , I can't figure out how to pack it.

ESLint is a npm library that requires Node.js and is generally meant to be used on the server side. Tried using webpack to generate a browser-compatible version but it fails since it looks for some Node APIs.

Theoretically it's possible to have ESLint packaged (they have a demo on their website as well), but I don't know what that is.

If you're willing to look into it, feel free.

Originally posted by @eliandoran in 703a700

some quick research:
eslint/eslint#15733
https://github.com/eslint/eslint/blob/main/webpack.config.js

https://www.npmjs.com/package/eslint-linter-browserify

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

No branches or pull requests

1 participant