diff options
author | Chris Rebert <code@rebertia.com> | 2015-03-23 22:19:06 +0300 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2015-03-23 22:20:50 +0300 |
commit | 2f1c2fb8da34b81adaa195a3c6b248d7f01ffb2c (patch) | |
tree | 19bd16b21ab9238d59fd54bbb0928bc21aca12d6 | |
parent | 115b0d85e53713116db18fbab1ca19472929e7ea (diff) |
ESLint: no-extra-strict => global strict
-rw-r--r-- | .eslintrc | 2 | ||||
-rw-r--r-- | Gruntfile.js | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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); |