eslint-index
wagerfield opened this issue · comments
I have created an ESLint utility module that I thought you might find useful.
The module is called eslint-index
and you can read the full documentation on npm.
eslint-index
provides a great deal of functionality including:
- List all available rules declared by ESLint and any plugins you have included
- Colour code rules depending on their status:
omitted
(not declared anywhere in you ESLint config file)0|off
(declared, but set to0|off
)1|warn
2|error
- Display links to the rule documentation page next to each rule
- Filter/reject rules by their
status
and/or theirgroup
status
is as described above (omitted|off|warn|error
)group
iseslint
for the core ESLint rules or the name of any of your plugins likereact|import|flowtype
- Format the output as a
number
or atable
to get an overview of your rule settings - Rules that have been marked as
deprecated
are removed from all outputs - All of the above filters and formatting can be combined, for example:
filter
omitted
andoff
rules, output them as alist
and display the ruledoc
links alongsidefilter
eslint
rules and display the rule setting counters in atable
I wrote this plugin to aid the development of my own ESLint config settings and found it incredibly useful for keeping track of everything. I hope you find this module useful and please do let me know if you have any ideas on how to improve it.
The issue tracker is for actual issues. You could have tweeted this at me instead. Also feels spammy when the exact same thing is posted in other issue trackers too: gajus/eslint-config-canonical#6
I would recommend submitting it to https://github.com/dustinspecker/awesome-eslint ;)
Sorry for not using your preferred channel of communication to draw your attention to this module. I will endeavour to communicate with you over Twitter in future.
Though this is not an issue per se, it remains pertinent to all eslint-config-*
repositories—hence why I have posted it to a number of them which I discovered through awesome-eslint
(yours included).
I genuinely thought this might be a useful tool to this repository, but given your response I guess I was wrong.