test()

in src/rules/avoid-positive-index.js [25:29]


    test(_, props) {
        warnRuleDeprecated('avoid-positive-index', 'tabindex-no-positive');
        const tabIndex = hasProp(props, 'tabIndex');
        return !tabIndex || props.tabIndex <= 0;
    }