From d2d57176d5ce5afa6759dab27393e09cedc6d333 Mon Sep 17 00:00:00 2001 From: GordonDiggs Date: Tue, 30 Jun 2015 11:15:05 -0400 Subject: [PATCH 1/2] Add eslint-plugin-react --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 746069d75..64d2744a1 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "url" : "http://github.com/codeclimate/codeclimate-eslint.git" }, "dependencies": { - "eslint": "0.22.1" + "eslint": "0.22.1", + "eslint-plugin-react": "2.6.3" }, "engine": "node >= 0.12.4" } From bb0d51dea5ffb2fdcaa90b5d8f0318de0e6ce705 Mon Sep 17 00:00:00 2001 From: GordonDiggs Date: Tue, 30 Jun 2015 12:17:58 -0400 Subject: [PATCH 2/2] Allow packages in the code directory #10 #4 --- Dockerfile | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e77b6673a..e905cc981 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,6 @@ USER app COPY . /usr/src/app +ENV NODE_PATH /code/node_modules + CMD ["/usr/src/app/bin/eslint.js"] diff --git a/package.json b/package.json index 64d2744a1..746069d75 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,7 @@ "url" : "http://github.com/codeclimate/codeclimate-eslint.git" }, "dependencies": { - "eslint": "0.22.1", - "eslint-plugin-react": "2.6.3" + "eslint": "0.22.1" }, "engine": "node >= 0.12.4" }