From 868ef2f427eba4314d40688752b6f736763763c6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 23 Nov 2015 14:32:09 +0000 Subject: [PATCH] Added eslint --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ca51ded..027d9eb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "TheOrangeOne.net site", "main": "app.js", "scripts": { - "lint": "echo 'Nothing yet.';", + "lint": "eslint -c node_modules/eslint-config/.eslintrc 'static/src/js/'", "build-js": "bash scripts/build-js.sh", "create-build-dirs": "mkdir -p static/build/js/lib static/build/fonts static/build/css static/build/img", "build": "npm run create-build-dirs && npm run build-fonts && npm run build-images && npm run build-js && npm run build-less", @@ -38,6 +38,7 @@ "browserify": "^11.0.1", "clean-css": "^3.4.1", "eslint": "^1.5.0", + "eslint-config": "git://github.com/dabapps/eslint-config.git", "eslint-plugin-react": "^3.4.2", "react-tools": "^0.13.2", "uglify-js": "^2.4.24",