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.

Reply via email to