Fix eslint dependency
This commit is contained in:
+9
-4
@@ -26,10 +26,15 @@ test:
|
||||
script:
|
||||
- python manage.py test
|
||||
|
||||
lint:
|
||||
pep8:
|
||||
stage: lint
|
||||
variables:
|
||||
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
|
||||
script:
|
||||
- pep8 --count && eslint .
|
||||
- pep8 --count
|
||||
|
||||
eslint:
|
||||
image: node:7.10.0
|
||||
stage: lint
|
||||
script:
|
||||
- npm install -g eslint
|
||||
- eslint .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user