ESLint works on one file at a time, so it cannot recognize cross-file issues.
-N On Wed, Mar 30, 2016, 4:20 PM Bryan Jones <[email protected]> wrote: > I should add: I read over the docs, but couldn't find an answer. And I > considered testing a couple simple rules (like the example above) to see > what result I get, but I wanted an official word on what ESLint's policy is > for handling multiple file passed at once—I wasn't sure if some rules would > treat all files as in the same global scope and some would be isolated > per-file, etc. > > -- > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
