We don't manage SublimeLinter, so it would be best to contact the author of
that plugin to answer your question.

-N

On Sat, Feb 21, 2015 at 2:11 AM, Ueli Kunz <[email protected]> wrote:

> Inside of my rule I use context.getFilename().
> The filenames are as expected if call eslint from console like `eslint
> src/*.js`, e.g. src/test.js
> But when my rule is triggered from SublimeLinter while editing a file in
> Sublime, the return value of context.getFilename() is <text>.
>
> Is there a way to get the actual filename being edited?
>
> --
> 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.
>



-- 

______________________________
Nicholas C. Zakas
@slicknet

Author, Professional JavaScript for Web Developers
Buy it at Amazon.com:
http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3

-- 
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.

Reply via email to