UNPKG

eslint-plugin-sonarjs

Version:
7 lines (6 loc) • 484 B
import type { Rule } from 'eslint'; import type { TSESTree } from '@typescript-eslint/utils'; import type { JSXAttribute } from 'estree-jsx'; import type { JsxAttributes } from './rule.js'; export declare function getStaticHref(value: JSXAttribute['value']): string | undefined; export declare function computeAccessibleName(element: TSESTree.JSXElement, attributes: JsxAttributes, context: Rule.RuleContext, elementType: (node: TSESTree.JSXOpeningElement) => string): string | null;