AtomLinter/linter-jscs

How to lint on only save (not on keypress)?

Closed this issue · 2 comments

http://stackoverflow.com/questions/41540014/how-to-run-jscs-on-save-only-not-on-keypress-in-atom


Edit by @Arcanemagus

I'm reposting the question posted over there here so this doesn't just look like spam:

I'm using https://github.com/AtomLinter/linter-jscs. The docs say:
It will lint on edit and/or on save
It seems that it lints on edit and save all the time. I don't see a way to configure it to lint on only save.

First of all you really should be looking into moving to ESLint (linter-eslint) as all development on JSCS has stopped.

As for your question, you can configure this behavior in the Linter package by disabling On-the-fly linting there. This package is simply a service provider allowing linting of code through JSCS, the Linter package is what controls when it is ran, and how its results are displayed to the user.

Ah ok, thanks.