From ac7c3ec4ac60ff7dde1ea152dcbdfddb05e4c6ab Mon Sep 17 00:00:00 2001 From: YarekTenko Date: Thu, 6 Apr 2017 15:39:00 -0700 Subject: [PATCH] Add eslint with Google template --- .eslintrc.js | 6 ++++++ package.json | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .eslintrc.js create mode 100644 package.json diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..c9d92e4 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,6 @@ +module.exports = { + "extends": "google", + "parserOptions": { + "ecmaVersion": 6 + } +}; diff --git a/package.json b/package.json new file mode 100644 index 0000000..96a2eb3 --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "bet_tracker", + "version": "1.0.0", + "description": "This README would normally document whatever steps are necessary to get the application up and running.", + "main": "index.js", + "dependencies": { + "eslint": "^3.19.0", + "eslint-config-google": "^0.7.1" + }, + "devDependencies": { + "eslint": "^3.19.0", + "eslint-config-google": "^0.7.1" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/StemboltHQ/bet_tracker.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/StemboltHQ/bet_tracker/issues" + }, + "homepage": "https://github.com/StemboltHQ/bet_tracker#readme" +}