diff --git a/grunt/npm-shrinkwrap.json b/grunt/npm-shrinkwrap.json index a462864bd7..2e1d267e70 100644 --- a/grunt/npm-shrinkwrap.json +++ b/grunt/npm-shrinkwrap.json @@ -916,9 +916,9 @@ "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz" }, "eslint": { - "version": "2.10.2", - "from": "eslint@2.10.2", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-2.10.2.tgz", + "version": "2.11.1", + "from": "eslint@2.11.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-2.11.1.tgz", "dependencies": { "argparse": { "version": "1.0.7", diff --git a/js/.eslintrc.json b/js/.eslintrc.json index 452cd24017..0e9e9fa75d 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -45,6 +45,7 @@ "no-unexpected-multiline": "error", "no-unreachable": "error", "no-useless-escape": "error", + "no-useless-rename": "error", "use-isnan": "error", "valid-jsdoc": "off", "valid-typeof": "error", @@ -102,6 +103,7 @@ "no-warning-comments": "off", "no-with": "error", "radix": "error", + "unicode-bom": ["error", "never"], "vars-on-top": "off", "wrap-iife": "error", "yoda": "error", diff --git a/package.json b/package.json index 10245ec63e..e4c9a2ec4a 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "devDependencies": { "autoprefixer": "^6.0.3", "babel-eslint": "^6.0.4", - "eslint": "^2.10.2", + "eslint": "^2.11.1", "grunt": "^0.4.5", "grunt-babel": "^5.0.3", "grunt-build-control": "^0.6.0",