From 8d3feede677c8f4a4033200f496033739414a77c Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Wed, 4 Mar 2015 16:01:03 -0800 Subject: [PATCH] Enabled eslint:strict Rule enabled, discovered issues resolved. Change-Id: Ia9559dc06b54f536a2f21bce8d56b9199eaf9d5a --- .eslintrc | 1 - protractor.conf.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 8fbef7b7..b7465f09 100644 --- a/.eslintrc +++ b/.eslintrc @@ -57,7 +57,6 @@ "consistent-return": 0, "space-unary-ops": 0, "no-console": 0, - "strict": 0, // Stylistic "indent": [2, 4], diff --git a/protractor.conf.js b/protractor.conf.js index 5c82af43..a50c4367 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -61,6 +61,7 @@ exports.config = { // You can specify a file containing code to run by setting onPrepare to // the filename string. onPrepare: function () { + 'use strict'; // At this point, global 'protractor' object will be set up, and jasmine // will be available. For example, you can add a Jasmine reporter with: // jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter(