From 3672a799d4bf9011bc665b6d8f55e58031513527 Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Mon, 10 Apr 2017 15:36:03 -0700 Subject: Dev Tooling fixes (eslint/editorconfig) (#1398) * Add eslint to dev dependancies so it gets installed for the repo yarn add --dev eslint babel-eslint eslint-plugin-reac project specific version of eslint, you can globally install eslint-cli if you want the global runtime, or add .bin to your path * fix eslint errors about inconsitent returns * eslint ignore the same as git ignore. allows for eslint . * Add editorconfig file so everyones editor will be setup to follow the same standards --- package.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 14c8abe79..fee78dd69 100644 --- a/package.json +++ b/package.json @@ -72,5 +72,10 @@ "webpack": "^2.2.1", "websocket.js": "^0.1.7", "ws": "^2.1.0" + }, + "devDependencies": { + "babel-eslint": "^7.2.1", + "eslint": "^3.19.0", + "eslint-plugin-react": "^6.10.3" } } -- cgit