File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,19 @@ function hasNestedLabelElement(
3737 return true ;
3838 }
3939
40- return ( parent && parent . type === "VElement" && hasNestedLabelElement ( parent , options ) ) ;
40+ return (
41+ parent &&
42+ parent . type === "VElement" &&
43+ hasNestedLabelElement ( parent , options )
44+ ) ;
4145}
4246
4347/**
4448 * Check if the form control at least has an "id" to be associated with a label
4549 * Can't really check for the label with a matching "for" attribute, because
4650 * checking every element in the file may lead to bad performance.
4751 */
48- function hasIdForLabelElement (
49- node : AST . VElement
50- ) : boolean {
52+ function hasIdForLabelElement ( node : AST . VElement ) : boolean {
5153 const id = getElementAttributeValue ( node , "id" ) ;
5254
5355 return Boolean ( id ) ;
You can’t perform that action at this time.
0 commit comments