Add and apply eslint's no-sequences rule
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 18 Apr 2017 14:10:35 +0200
changeset 124 11d6f7145eb7
parent 123 d8396b0cb475
child 125 abb84605bad5
Add and apply eslint's no-sequences rule
.eslintrc.yml
test/index.js
--- a/.eslintrc.yml	Tue Apr 18 13:56:04 2017 +0200
+++ b/.eslintrc.yml	Tue Apr 18 14:10:35 2017 +0200
@@ -28,6 +28,7 @@
   no-console: ["error", {"allow": ["warn", "error"]}]
   no-multiple-empty-lines: ["error", {"max":1, "maxEOF": 0, "maxBOF": 0}]
   no-multi-spaces: [0]
+  no-sequences: "error"
   no-shadow: [0]
   no-trailing-spaces: [2]
   no-unused-vars: ["error", {"argsIgnorePattern": "_$"}]
--- a/test/index.js	Tue Apr 18 13:56:04 2017 +0200
+++ b/test/index.js	Tue Apr 18 14:10:35 2017 +0200
@@ -197,7 +197,7 @@
     beforeEach(() => {
         targetResource = {
             route: "/any/123",
-        },
+        };
         sinon.stub(defaultApi, 'buildUrl').callsFake(x => `http://testing.com${x}`);
     });