Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Linter only runs on save, not on type. #78

Open
yourfavorite opened this issue Feb 22, 2017 · 2 comments
Open

Linter only runs on save, not on type. #78

yourfavorite opened this issue Feb 22, 2017 · 2 comments

Comments

@yourfavorite
Copy link

Despite having the Lint as you Type setting enabled for linter, stylint only seems to run when I save a file. I do not have this issue with my js files in the project. It seems to be isolated to linter-stylint. I have tried this both with my own config as well as the "strict mode" where no config file is needed.

@Arcanemagus
Copy link
Member

That setting for Linter merely enables the ability to lint on the fly, it's up to the individual providers whether or not to support that functionality. In this case it seems that stylint is unable to run on contents being piped into it via stdin, so that functionality is disabled.

If stylint supports linting contents passed into it via stdin, then this can be modified to enable that functionality, but for now this is working as intended.

@yourfavorite
Copy link
Author

Ah I see. Thanks for the info. So I guess this should be filed as a feature request? Perhaps there are constraints that make it an unlikely addition, but I personally would enjoy the feature. Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants