Upgrade typescript-eslint to 5.54.0 (#152358)

We're seeing infrequent but reliable build failures due to parse errors
when linting -
https://buildkite.com/elastic/kibana-on-merge/builds/27649#01869780-fb18-4a4d-990e-b8d5a05a701a/225-792.

Looking into bug fixes upstream.
This commit is contained in:
Jon 2023-03-23 10:52:41 -05:00 committed by GitHub
parent 68f743982e
commit be71713035
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 52 deletions

View file

@ -80,7 +80,7 @@ export function getIntentFromNode(originalNode: TSESTree.JSXOpeningElement): str
return '';
}
const object: TSESTree.LeftHandSideExpression = callee.object;
const object: TSESTree.Expression = callee.object;
const property: TSESTree.Expression | TSESTree.PrivateIdentifier = callee.property;
if (!('name' in object) || !('name' in property)) {