You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
For external editors it would be very nice if Dogma would accept source code from stdin.
This will allow for a lot of IDE's to use Dogma as an inline lint-ing tool, for example with Spacemacs and Flycheck. Currently you need to feed Dogma an existing file to lint.
I've been working on a small prove of concept to see if I could make this happen and here is the result :
(note the /tmp/test.ex is a dummy value, not an actual file)
Before I dive deeper into this and make everything nice and tidy, I was wondering what you think about this feature and if it has any chance of being merged.
Let me know,
Gerard
The text was updated successfully, but these errors were encountered:
Spend quite some time with it today, and almost have everything nice and tidy.
It is indeed using a new flag.
Will send you a pull request tonight, or maybe earlier if I can sneak some more time in between work :)
Hi,
For external editors it would be very nice if Dogma would accept source code from stdin.
This will allow for a lot of IDE's to use Dogma as an inline lint-ing tool, for example with Spacemacs and Flycheck. Currently you need to feed Dogma an existing file to lint.
I've been working on a small prove of concept to see if I could make this happen and here is the result :
(note the /tmp/test.ex is a dummy value, not an actual file)
Before I dive deeper into this and make everything nice and tidy, I was wondering what you think about this feature and if it has any chance of being merged.
Let me know,
Gerard
The text was updated successfully, but these errors were encountered: