项目作者: codesuki

项目描述 :
Fix current file using ESLint --fix
高级语言: Emacs Lisp
项目地址: git://github.com/codesuki/eslint-fix.git
创建时间: 2016-08-18T07:39:41Z
项目社区:https://github.com/codesuki/eslint-fix

开源协议:MIT License

下载


eslint-fix

Fix current file using ESLint --fix

Usage

M-x eslint-fix

To automatically format after saving:

(Choose depending on your favorite mode.)

  1. (add-hook 'js-mode-hook #'eslint-fix-auto-mode)
  2. (add-hook 'js2-mode-hook #'eslint-fix-auto-mode)