From afff6a5a1b25729f6be3f3b565d61ff3e56d9c36 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 13 Jun 2018 12:53:21 +0100 Subject: Add JavaScript linting --- docker/ci.Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/ci.Dockerfile b/docker/ci.Dockerfile index 69a7e5ba..3771e52b 100644 --- a/docker/ci.Dockerfile +++ b/docker/ci.Dockerfile @@ -13,7 +13,9 @@ RUN apk add --update tini \ ruby-rdoc \ ruby-irb \ docker \ - curl + curl \ + nodejs \ + nodejs-npm ENV PIPENV_VENV_IN_PROJECT=1 ENV PIPENV_IGNORE_VIRTUALENVS=1 @@ -22,3 +24,4 @@ ENV PIPENV_HIDE_EMOJIS=1 RUN pip install pipenv RUN gem install scss_lint +RUN npm install -g eslint --save-dev -- cgit v1.2.3