Skip to content

Instantly share code, notes, and snippets.

@barzik
Last active August 9, 2016 09:04
Show Gist options
  • Save barzik/ce09812bf5801ee2f727e6db172c672a to your computer and use it in GitHub Desktop.
Save barzik/ce09812bf5801ee2f727e6db172c672a to your computer and use it in GitHub Desktop.
bat file to eslint fix all the files in a sample project
call C:\Users\USER\AppData\Roaming\npm\eslint -c C:\PROJECT\client\.eslintrc C:\PROJECT\client\app\**\*.js --ignore-pattern *.spec.js --fix
call C:\Users\USER\AppData\Roaming\npm\eslint -c C:\PROJECT\client\.eslintrc-spec C:\PROJECT\client\app\**\*.spec.js --fix
call C:\Users\USER\AppData\Roaming\npm\eslint -c C:\PROJECT\server\.eslintrc C:\PROJECT\server\app\**\*.js --ignore-pattern *.spec.js --fix
call C:\Users\USER\AppData\Roaming\npm\eslint -c C:\PROJECT\server\.eslintrc-spec C:\PROJECT\server\app\**\*.spec.js --fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment