emacs的flycheck外掛支援使用 jslint 和eslint
(setq flycheck-javascript-eslint-executable "~/.nvm/versions/node/v6.4.0/bin/eslint") (setq flycheck-javascript-jshint-executable "~/.nvm/versions/node/v6.4.0/bin/jshint") (setq flycheck-javascript-jscs-executable "~/.nvm/versions/node/v6.4.0/bin/jscs") (setq flycheck-javascript-standard-executable "~/.nvm/versions/node/v6.4.0/bin/standard") (setq flycheck-eslintrc "~/.emacs.d/js/eslintrc") (setq flycheck-jshintrc "~/.emacs.d/js/jshintrc") (setq flycheck-jscsrc "~/.emacs.d/js/jscsrc")