test()

in src/rules/label-uses-for.js [11:16]


    test(tagName, props) {
        warnRuleDeprecated('label-uses-for', 'label-has-for');
        const hidden = hiddenFromAT(props);
        const hasfor = typeof props.htmlFor === 'string';
        return hidden || hasfor;
    }