mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-04 04:22:16 +03: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…
x
Reference in New Issue
Block a user