js2-mode
js2-mode copied to clipboard
Support for external linters?
Hello!
Thank you for js2-mode. It's quite an accomplishment and it makes Javascript almost bearable :)
In this new wave of Javascript, we don't care about proper Javascript anymore, we care about what external linters say, such as eslint. How would this work, here? Would we extend js2-mode to support that.. Or would I somehow cobble together something using flycheck.. or something else?
What do you mean by "support" here? Flycheck supports ESLint, etc, already.
js2-mode has options to support optional trailing commas, etc. Do I have to actively turn those off if I want to leverage flycheck to give me warnings?
I suppose so. Is that a problem?
I guess not; I just thought, since it's called "js-ide", that I could expect the world from it :)
Personaly, I use eslint : https://melpa.org/#/eslint-fix , for me it should not be in js2-mode