coderaiser / putout

🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
https://putout.cloudcmd.io/
MIT License
712 stars 40 forks source link

It it possible to use Putout as Eslint backend? #210

Closed artalar closed 5 months ago

artalar commented 5 months ago

Hi! I'm very inspired by Putout, the scripting language looks super handy for me.

I have developed a library https://reatom.dev that has a list of rules and best practices that could be automated for a user-developer by eslint plugin. It is important to provide a plugin for eslint as it is a very popular lint tool which has the best IDE integrations. But I as a library developer don't want to write eslint mathes, as it has quite complex API, which is hard to manage.

And I have an idea, is it possible to write the lint tool logic with putout, but produce the output to eslint rule?

For example, here is the case I want to solve: https://github.com/artalar/reatom/issues/523

coderaiser commented 5 months ago

Hi, nice library! I can suggest you two options: