I have a default setup of js2-mode
. This provides nice syntax highlighting and checking but I am now working on a project with a different set of styles (specifically this new project does not use semicolons).
This causes every single line of code to be underlined in js2-mode
with the warning: missing ; after statement
Is there a way that I can disable the syntax checking in js2-mode
?
Or, even better, is there a way to use a diferent syntax checker?
I have Flycheck mode installed and running for my .js
files but I just do not have any syntax checkers enabled (i.e. all checkers are set to nil
and not found
). It would be great to know how to enable one of these and disable the built in js2
one.
I know the views on semicolon insertion vary but this project follows the "standard style"
for which there is a syntax checker in Flycheck and I am just interested in if I can switch the checker.