Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Difficulty in finding Eslint plugin rules #480

Open
jankhunter opened this issue Jun 6, 2018 · 4 comments
Open

Difficulty in finding Eslint plugin rules #480

jankhunter opened this issue Jun 6, 2018 · 4 comments
Labels
question This issue asks a question about ESLint

Comments

@jankhunter
Copy link

Recently, i faced difficulty in finding existing eslint rules. I would search for any existing rule here . I nearly completed writing my own custom rule but later found that there is an existing rule exactly for my case, which i dint find here . It would be nice, if there is a space also for non-core plugin rules in eslint.org

@aladdin-add
Copy link
Member

It's hard to list all rules -- there are many eslint plugins maintained by the community. I would recommend some repos like https://github.com/dustinspecker/awesome-eslint.

@platinumazure
Copy link
Member

Disclosure: I recommended that this issue be created.

I wanted to have this issue so we could discuss what meaningful changes we could do to improve the plugin/custom rule discovery experience.

If awesome-eslint is highly useful for this, it might be good to link to it somewhere (including on the rules pages).

That said, I also wonder if there might be an API we could use for searching the npm registry, which could allow users to do their own plugin searching on our website. If we could somehow integrate that into algolia, that would be super awesome but probably really difficult and maybe overkill.

@jankhunter
Copy link
Author

To be precise, if some plugin is useful, why not maintain a space for it or as @platinumazure said, search results would be well and good rather than maintaining the exact plugin in eslint.org

@platinumazure
Copy link
Member

I definitely don't want to maintain a space for it, in terms of us having to maintain a database or something. We do not have the manpower for that.

What I would love to see is, if there is some API or service that can be used to query npmjs.org, then maybe we could create a search page that will allow users to type in some searches and find ESLint plugins (e.g., we could search by "eslintplugin" tag plus whatever else the user has typed in). That could (hopefully) be maintained at minimum cost, without us actually having to be aware of the ecosystem.

@kaicataldo kaicataldo added the question This issue asks a question about ESLint label Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question This issue asks a question about ESLint
Projects
None yet
Development

No branches or pull requests

4 participants