UNPKG

@generaltranslation/gt-next-lint

Version:

ESLint plugin for General Translation Next.js integration

26 lines 840 B
"use strict"; /** * GT-Next ESLint Plugin * * Provides ESLint rules for General Translation Next.js integration. * This plugin detects unwrapped dynamic content in translation components * and provides better error reporting with file locations and line numbers. */ const no_dynamic_jsx_1 = require("./rules/no-dynamic-jsx"); const no_dynamic_string_1 = require("./rules/no-dynamic-string"); const recommended_1 = require("./configs/recommended"); const plugin = { meta: { name: '@generaltranslation/gt-next-lint', version: '1.0.0', }, rules: { 'no-dynamic-jsx': no_dynamic_jsx_1.noDynamicJsx, 'no-dynamic-string': no_dynamic_string_1.noDynamicString, }, configs: { recommended: recommended_1.recommended, }, }; module.exports = plugin; //# sourceMappingURL=index.js.map