UNPKG

@jsxtools/eslint-plugin-jsx-a11y

Version:

Static AST checker for accessibility rules on JSX elements for flat ESLint Config.

24 lines (20 loc) 569 B
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const jsxAstUtils = require('jsx-ast-utils'); const { elementType, eventHandlersByType, getLiteralPropValue, getProp, getPropValue, hasAnyProp, hasProp, propName } = jsxAstUtils.default; exports.elementType = elementType; exports.eventHandlersByType = eventHandlersByType; exports.getLiteralPropValue = getLiteralPropValue; exports.getProp = getProp; exports.getPropValue = getPropValue; exports.hasAnyProp = hasAnyProp; exports.hasProp = hasProp; exports.propName = propName;