I am building a in-browser IDE and am looking for a way to run ESlint on the JS code my users are writing. I am using react and the code that was written is stored in the state as a string. Is there any tool to just take that string and execute ESlint on it? I did not find anything.
If this is not available: Any ideas how to do what i want to do in the browser on the client?