eslint – how to know where a rule is "defined"
Unfortunately, it seems there's no "eslint" way to perform such a report.
If you run eslint
with debug options, you get a lot of information about how the program runs: what file is processing, with which configuration, how it fails, etc., but not from where a rule was taken.
I managed to find it by simply running a grep + find
within the node_modules
directory, and being sure which module was providing the rule by simply changing it and seeing the eslint
results afterwards.