First thing’s first, we install Flycheck.
(package-refresh-contents)
(package-install 'flycheck)
Check out the Flycheck Quickstart guide to get started!
You may want to use (global-flycheck-mode)
to enable flycheck on all supported buffers.
You should be able to see marks in the fringe for errors and warnings within the buffer.
To see a list of all the errors, use C-c ! s
.
Out of the box, Flycheck is compatible with three Python syntax checkers
- flake8
- pylint
- pycompile
I’m not too sure which one is the best, but your best bet is probably between flake8 and pylint. You can choose which syntax checker you want to use with C-c ! s
in a buffer with flycheck-mode.
Install JSHint: npm install jshint -g
.