Homepage: https://github.com/codesuki/eslint-fix
Author: Neri Marschik
Updated:
Fix JavaScript files using ESLint
This file provides `eslint-fix', which fixes the current file using ESLint. Usage: M-x eslint-fix To automatically format after saving: (Choose depending on your favorite mode.) (eval-after-load 'js-mode '(add-hook 'js-mode-hook (lambda () (add-hook 'after-save-hook 'eslint-fix nil t)))) (eval-after-load 'js2-mode '(add-hook 'js2-mode-hook (lambda () (add-hook 'after-save-hook 'eslint-fix nil t))))