diff --git a/.eslintrc b/.eslintrc index 8ef185b..36312af 100644 --- a/.eslintrc +++ b/.eslintrc @@ -418,7 +418,7 @@ rules: # controls location of Use Strict Directives # http://eslint.org/docs/rules/strict strict: - - 0 # TODO(krotscheck): Discuss & Activate + - 2 - "function" ############################################################################# diff --git a/index.js b/index.js index bd4837c..b4f9684 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,7 @@ * as a module. */ (function () { + "use strict"; var yaml = require('js-yaml'); var fs = require('fs'); diff --git a/spec/index.js b/spec/index.js index b43115e..3a0c26b 100644 --- a/spec/index.js +++ b/spec/index.js @@ -1,4 +1,5 @@ describe("Unit: eslint-config-openstack", function() { + "use strict"; it("should set espree as the default parser.", function() { var config = require('../index');