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:
parent
f8d7902d2e
commit
a65d94e8ce
1 changed files with 2 additions and 0 deletions
|
@ -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"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue