Re-enable the max-len ESLint rule. (#5265)
This commit is contained in:
@@ -93,5 +93,6 @@ export function ArrowFunctionExpression(node: Object) {
|
||||
}
|
||||
|
||||
function hasTypes(node, param) {
|
||||
return node.typeParameters || node.returnType || param.typeAnnotation || param.optional || param.trailingComments;
|
||||
return node.typeParameters || node.returnType || param.typeAnnotation || param.optional ||
|
||||
param.trailingComments;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user