Merge pull request #8826 from Snuffleupagus/eslint_for-direction

Enable the `for-direction` ESLint rule
This commit is contained in:
Tim van der Meij 2017-08-26 15:26:01 +02:00 committed by GitHub
commit bd85bda0a6
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
"rules": {
// Possible errors
"for-direction": "error",
"no-cond-assign": ["error", "except-parens"],
"no-constant-condition": ["error", { "checkLoops": false, }],
"no-dupe-args": "error",

View File

@ -9,8 +9,8 @@
"babel-preset-es2015": "^6.24.1",
"core-js": "^2.5.0",
"escodegen": "^1.8.0",
"eslint": "^4.2.0",
"eslint-plugin-mozilla": "^0.4.0",
"eslint": "^4.5.0",
"eslint-plugin-mozilla": "^0.4.3",
"gulp": "^3.9.1",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",