From 094c959f01a05537bdf7cc60aa9c8272d7ea3c5c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 21 Apr 2016 18:26:24 +0100 Subject: [PATCH] Add eslintrc file --- .eslintrc | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .eslintrc diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..791d0f7 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "./node_modules/eslint-config/.eslintrc" +} diff --git a/package.json b/package.json index 22012cf..f418c4f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.0.0", "description": " Source code for TheOrangeOne.net", "scripts": { - "lint": "eslint -c node_modules/eslint-config/.eslintrc 'static/src/js/'", + "lint": "eslint 'static/src/js/'", "build-js": "./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",