设置emacs插件flycheck使用jslint eslint

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")

  

上一篇:自定义Toast的显示效果


下一篇:.Net Core MongoDB 简单操作。