From 2f1c2fb8da34b81adaa195a3c6b248d7f01ffb2c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 23 Mar 2015 12:19:06 -0700 Subject: ESLint: no-extra-strict => global strict --- .eslintrc | 2 ++ Gruntfile.js | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 2c0c1f4..834a1a2 100644 --- a/.eslintrc +++ b/.eslintrc @@ -21,6 +21,7 @@ "no-dupe-args": 2, "no-duplicate-case": 2, "no-eval": 2, + "no-extra-strict": 0, "no-floating-decimal": 2, "no-implied-eval": 2, "no-inline-comments": 0, @@ -51,6 +52,7 @@ "space-return-throw-case": 2, "space-unary-ops": [2, {"words": true, "nonwords": false}], "spaced-line-comment": [2, "always"], + "strict": [2, "global"], "vars-on-top": 0, "wrap-iife": [2, "inside"], "yoda": [2, "never"] diff --git a/Gruntfile.js b/Gruntfile.js index ac0db8d..14203d0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,8 +1,7 @@ /*eslint-env node */ +'use strict'; module.exports = function (grunt) { - 'use strict'; - grunt.util.linefeed = '\n'; require('load-grunt-tasks')(grunt); -- cgit v1.2.3