Add yarn lint to make lint. Closes #1245

This commit is contained in:
Kevin Chung
2020-05-29 17:14:16 -04:00
parent d88c529367
commit 3c151b9ebc

View File

@@ -1,5 +1,6 @@
lint:
flake8 --ignore=E402,E501,E712,W503,E203,I002 --exclude=CTFd/uploads CTFd/ migrations/ tests/
yarn lint
black --check --exclude=CTFd/uploads --exclude=node_modules .
prettier --check 'CTFd/themes/**/assets/**/*'