Discussion:
[ESLint] How do you load the config files?
Alexander Ressler
7 years ago
Permalink
I have seen no mention of how to use the nodejs api and load your eslintrc
file? How is that done?
--
You received this message because you are subscribed to the Google Groups "ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eslint+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nicholas Zakas
7 years ago
Permalink
Hi Alexander,

It depends on which API you use. If you use CLIEngine, then the config
files are loaded automatically. If you use Linter, then you must load the
config files yourself and pass a complete config object in.
On Fri, Jun 15, 2018 at 3:15 AM Alexander Ressler <
Post by Alexander Ressler
I have seen no mention of how to use the nodejs api and load your eslintrc
file? How is that done?
--
You received this message because you are subscribed to the Google Groups "ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eslint+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...