mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-17 03:37:04 +02:00
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
@ -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…
Reference in New Issue
Block a user