diff options
author | Chris Rebert <github@chrisrebert.com> | 2016-06-05 01:07:16 +0300 |
---|---|---|
committer | Chris Rebert <github@chrisrebert.com> | 2016-06-05 01:07:16 +0300 |
commit | d1b8ec85e25a33c824c4eb211cb5638e98fd616f (patch) | |
tree | a6f754373a63af78107a623d74851bdc86f3c8f3 /js/.eslintrc.json | |
parent | 1f5d8aa4b30475798f4fa4a4d0b607bd0771cb94 (diff) |
Upgrade ESLint to v2.9.0 (#20047)
Refs #19908
[skip sauce]
[skip validator]
Diffstat (limited to 'js/.eslintrc.json')
-rw-r--r-- | js/.eslintrc.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json index f64ef2e709..452cd24017 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -136,6 +136,7 @@ "keyword-spacing": "error", "linebreak-style": "error", "lines-around-comment": "off", + "max-statements-per-line": ["error", { "max": 1 }], "new-cap": "off", "newline-after-var": "off", "new-parens": "error", @@ -152,6 +153,8 @@ "no-trailing-spaces": "error", "no-underscore-dangle": "off", "no-unneeded-ternary": "error", + "no-unsafe-finally": "error", + "no-useless-computed-key": "error", "object-curly-spacing": ["warn", "always"], "one-var": "off", "operator-assignment": "error", @@ -168,7 +171,6 @@ "space-infix-ops": "error", "space-in-parens": "error", "space-unary-ops": "error", - "max-statements-per-line": ["error", { "max": 1 }], // es6 "arrow-parens": "error", |