You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +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:
@ -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"],
|
||||||
|
Reference in New Issue
Block a user