UNPKG

@generaltranslation/gt-next-lint

Version:

ESLint plugin for General Translation Next.js integration

12 lines 504 B
/** * ESLint rule: no-dynamic-jsx * * Detects unwrapped dynamic content in GT-Next translation components. * Equivalent to the SWC plugin functionality but with proper ESLint error reporting. * * This rule checks for JSX expressions ({dynamic content}) inside <T> components * that are not wrapped in variable components (<Var>, <DateTime>, <Num>, <Currency>). */ import type { Rule } from 'eslint'; export declare const noDynamicJsx: Rule.RuleModule; //# sourceMappingURL=no-dynamic-jsx.d.ts.map