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.
This commit is contained in:
Richard van der Hoff 2017-02-02 10:52:11 +00:00
parent f8d7902d2e
commit a65d94e8ce

View file

@ -57,6 +57,8 @@ module.exports = {
// apparently people believe the length limit shouldn't apply // apparently people believe the length limit shouldn't apply
// to JSX. // to JSX.
ignorePattern: '^\\s*<', ignorePattern: '^\\s*<',
ignoreComments: true,
code: 90,
}], }],
"valid-jsdoc": ["warn"], "valid-jsdoc": ["warn"],
"new-cap": ["warn"], "new-cap": ["warn"],