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 .
|
||||
|
||||
|
||||
@@ -20,3 +20,4 @@ uWSGI==2.0.14
|
||||
psycopg2==2.7.1
|
||||
django-bootstrap3==8.2.3
|
||||
django-tables2==1.6.1
|
||||
pep8==1.7.0
|
||||
|
||||
Reference in New Issue
Block a user