UNPKG

eslint-plugin-sitecore-jss

Version:

An ESLint plugin to enforce correct usage of Sitecore JSS components

26 lines 832 B
import { TSESTree } from "@typescript-eslint/utils"; import { RuleContext } from "@typescript-eslint/utils/dist/ts-eslint"; declare const _default: { defaultOptions: never[]; meta: { type: string; docs: { description: string; recommended: string; }; messages: { useRichTextComponent: string; avoidNestedPTags: string; avoidRichTextPTag: string; }; fixable: string; schema: never[]; }; create(context: RuleContext<"useRichTextComponent" | "avoidNestedPTags" | "avoidRichTextPTag", never[]>): { JSXOpeningElement?: undefined; } | { JSXOpeningElement(node: TSESTree.JSXOpeningElement): void; }; }; export default _default; //# sourceMappingURL=enforce-richtext-component.d.ts.map