diff options
author | Chris Rebert <github@chrisrebert.com> | 2016-06-05 00:28:34 +0300 |
---|---|---|
committer | Chris Rebert <github@chrisrebert.com> | 2016-06-05 00:28:34 +0300 |
commit | 2b16f5c5100c8a42bccad028903eadac2875e20c (patch) | |
tree | 1e177c185c1e98af237effb6f5c3e69ac5956663 /js/.eslintrc.json | |
parent | c5eb5a45e92888da4ecd926c4397ab56c41f163d (diff) |
Update ESLint to v2.5.3 (#20043)
Refs #19908.
[skip sauce]
[skip validator]
Diffstat (limited to 'js/.eslintrc.json')
-rw-r--r-- | js/.eslintrc.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json index 1bf696daeb..f64ef2e709 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -24,6 +24,7 @@ "no-dupe-args": "error", "no-dupe-keys": "error", "no-duplicate-case": "error", + "no-duplicate-imports": "error", "no-empty": "error", "no-empty-character-class": "error", "no-empty-pattern": "error", @@ -43,6 +44,7 @@ "no-sparse-arrays": "error", "no-unexpected-multiline": "error", "no-unreachable": "error", + "no-useless-escape": "error", "use-isnan": "error", "valid-jsdoc": "off", "valid-typeof": "error", @@ -166,6 +168,7 @@ "space-infix-ops": "error", "space-in-parens": "error", "space-unary-ops": "error", + "max-statements-per-line": ["error", { "max": 1 }], // es6 "arrow-parens": "error", |