Run eslint just on the files or lines you touched on your git branch.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
git-eslint

README

usage: git eslint
       git eslint --edit

Run eslint only on the lines touched by the current git branch.  Then quickly
edit any issues found in vim (or your $GIT_ESLINT_EDITOR) to correct them.

GIT_ESLINT_EDITOR will be run by the shell with a single argument: a
quickfix-style list of errors in eslint's "unix" output format.

optional arguments:
  -h, --help  show this help message and exit
  -e, --edit  Edit eslint issues using vim's quickfix list. Set
              GIT_ESLINT_EDITOR to use your preferred editor.

Written by Thomas Sibley <https://tsibley.net>.