From a65d94e8ce2929e0d04a4ed01b5632e5fa837b5d Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 2 Feb 2017 10:52:11 +0000 Subject: [PATCH] Reinstate max-len lint configs Apparenltly setting the ignorePattern on max-len (as per cf049f2) makes eslint forget the `ignoreComments` and `code` settings from js-sdk, so reinstate these. --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 92280344fa..34d3af270c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -57,6 +57,8 @@ module.exports = { // apparently people believe the length limit shouldn't apply // to JSX. ignorePattern: '^\\s*<', + ignoreComments: true, + code: 90, }], "valid-jsdoc": ["warn"], "new-cap": ["warn"],