chore: switch eslint to lint changed files intead of whole project

This commit is contained in:
Jordan Knott
2020-09-10 22:13:16 -05:00
parent cb655347be
commit cdcccbfb4a
2 changed files with 3 additions and 2 deletions

2
scripts/lint.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
yarn --cwd frontend eslint $(echo $1 | sed 's/frontend\///g')