i18next-cli 1.90.0 → 1.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/cjs/cli.js +1 -1
- package/dist/cjs/extractor/parsers/jsx-parser.js +4 -2
- package/dist/cjs/linter.js +190 -23
- package/dist/esm/cli.js +1 -1
- package/dist/esm/extractor/parsers/jsx-parser.js +4 -3
- package/dist/esm/linter.js +192 -25
- package/package.json +2 -1
- package/types/extractor/parsers/jsx-parser.d.ts +1 -0
- package/types/extractor/parsers/jsx-parser.d.ts.map +1 -1
- package/types/linter.d.ts.map +1 -1
- package/types/types.d.ts +15 -2
- package/types/types.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -405,6 +405,13 @@ npx i18next-cli lint
|
|
|
405
405
|
- tags, in any order: the numbered ones of `<Trans>` (`<0>…</0>`, `<1/>`) and named ones like `<bold>` from its `components`, which react-i18next shows as text when a translation renames them. The basic HTML react-i18next keeps as is (`extract.transKeepBasicHtmlNodesFor`, default `br`, `strong`, `i`, `p`) is not compared, a language may add or drop it
|
|
406
406
|
|
|
407
407
|
Plural forms are compared as a group (the union over `_zero`, `_one`, `_other`, ...), since `{{count}}` may be left out of `_one` or `_zero` and a language has forms the primary language lacks (`ru` `_few`). A partly translated plural is checked for unexpected placeholders only. Keys only one side has and empty values are skipped (`status` reports them). Configure with `lint.checkTranslationPlaceholders`: `'warn'` / `true` (default), `'error'` (fails the run), `'off'` / `false`. With `extract.messageFormat: 'icu'` or `'mf2'` the ICU / MF2 check above runs instead.
|
|
408
|
+
- **`<Trans>` tags against the children** *(warning by default)*: `<Trans>` numbers its children, text included, so the `{' '}` a formatter inserts at a line break shifts every later index. In `Hello{' '}<Bold>world</Bold>` the `{' '}` is `<1>` and `<Bold>` is `<2>`, and a translation `Hello <1>world</1>` renders `Hello `. The tags of the primary language's translation of every `<Trans>` with children (context and plural forms included) are resolved like react-i18next does at runtime, and a tag that does not render what it wraps is reported, e.g. `reminder:disclosure: <1> points to the text " ", which replaces its content`:
|
|
409
|
+
- a tag with content on a text child, which renders that text instead
|
|
410
|
+
- a tag past the last child, which loses its markup
|
|
411
|
+
- an empty tag (`<2/>`) on an element with text, which renders the element without its text
|
|
412
|
+
- a tag with content on a `<br/>` (or another void element), which makes React throw
|
|
413
|
+
|
|
414
|
+
A tag on an interpolation object (`<1>{{count}}</1>`) is fine, react-i18next renders its content. A tag on an expression (`{link}`) is not checked, its value is known only at runtime. A `<Trans>` with `components` is skipped. Only the primary language is checked; in the i18next format the placeholder check above compares the tags of the other languages with it. Configure with `lint.checkTransIndices`: `'warn'` / `true` (default), `'error'` (fails the run), `'off'` / `false`.
|
|
408
415
|
- **String concatenation** *(warning by default)* — translated strings glued together with `+`, or a sentence split across multiple adjacent translations (`<Trans>` components and/or `{t()}` expressions rendered as siblings). This breaks in languages that reorder or inflect the pieces; use a single key with placeholders instead. Configure with `lint.checkConcatenation`: `'warn'` / `true` (default) reports it without failing the run, `'error'` makes it fail (exit non-zero, useful for CI), and `'off'` / `false` disables it.
|
|
409
416
|
|
|
410
417
|
```jsx
|
|
@@ -1241,6 +1248,10 @@ export default defineConfig({
|
|
|
1241
1248
|
* language (default: 'warn'). Accepts the same values as checkConcatenation. */
|
|
1242
1249
|
checkTranslationPlaceholders: 'warn',
|
|
1243
1250
|
|
|
1251
|
+
/** Report <Trans> tags of the primary translation that miss the component's children, e.g. a <1>
|
|
1252
|
+
* on the {' '} a formatter inserted (default: 'warn'). Accepts the same values as checkConcatenation. */
|
|
1253
|
+
checkTransIndices: 'warn',
|
|
1254
|
+
|
|
1244
1255
|
/** Baseline file written by `lint --update-baseline` (default: 'i18next-lint-baseline.json') */
|
|
1245
1256
|
baseline: 'i18next-lint-baseline.json',
|
|
1246
1257
|
},
|
package/dist/cjs/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ const program = new commander.Command();
|
|
|
39
39
|
program
|
|
40
40
|
.name('i18next-cli')
|
|
41
41
|
.description('A unified, high-performance i18next CLI.')
|
|
42
|
-
.version('1.
|
|
42
|
+
.version('1.91.0') // This string is replaced with the actual version at build time by rollup
|
|
43
43
|
.addHelpText('after', '\nUsing an AI coding agent? Install the i18next-localization skill: npx skills add i18next/i18next-cli\n');
|
|
44
44
|
// new: global config override option
|
|
45
45
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
@@ -504,8 +504,9 @@ function getElementName(element) {
|
|
|
504
504
|
}
|
|
505
505
|
function trimTextNode(text) {
|
|
506
506
|
text = text.replace(/\r\n/g, '\n'); // Normalize line endings
|
|
507
|
-
// If text is ONLY whitespace AND contains a newline, remove it entirely
|
|
508
|
-
|
|
507
|
+
// If text is ONLY whitespace AND contains a newline, remove it entirely. Only spaces and tabs, like
|
|
508
|
+
// Babel and SWC: an ` ` at the end of a line (U+00A0, which `\s` matches) stays a child
|
|
509
|
+
if (/^[ \t\n]+$/.test(text) && /\n/.test(text)) {
|
|
509
510
|
return null;
|
|
510
511
|
}
|
|
511
512
|
// Trim leading/trailing whitespace sequences containing newlines
|
|
@@ -674,3 +675,4 @@ function serializeJSXChildren(children, config) {
|
|
|
674
675
|
exports.extractFromIcuMacro = extractFromIcuMacro;
|
|
675
676
|
exports.extractFromIcuTrans = extractFromIcuTrans;
|
|
676
677
|
exports.extractFromTransComponent = extractFromTransComponent;
|
|
678
|
+
exports.trimTextNode = trimTextNode;
|
package/dist/cjs/linter.js
CHANGED
|
@@ -10,9 +10,12 @@ var logger = require('./utils/logger.js');
|
|
|
10
10
|
var wrapOra = require('./utils/wrap-ora.js');
|
|
11
11
|
var jsxAttributes = require('./utils/jsx-attributes.js');
|
|
12
12
|
var astUtils = require('./extractor/parsers/ast-utils.js');
|
|
13
|
+
var jsxParser = require('./extractor/parsers/jsx-parser.js');
|
|
13
14
|
var functionMatcher = require('./extractor/utils/function-matcher.js');
|
|
14
15
|
var astVisitors = require('./extractor/core/ast-visitors.js');
|
|
15
16
|
var nestedObject = require('./utils/nested-object.js');
|
|
17
|
+
var fileUtils = require('./utils/file-utils.js');
|
|
18
|
+
var htmlParseStringify = require('html-parse-stringify');
|
|
16
19
|
var messageFormat = require('./utils/message-format.js');
|
|
17
20
|
var lintBaseline = require('./utils/lint-baseline.js');
|
|
18
21
|
var funnelMsgTracker = require('./utils/funnel-msg-tracker.js');
|
|
@@ -186,27 +189,12 @@ function lintInterpolationParams(ast, code, config, translationValues, analyze)
|
|
|
186
189
|
return code.substring(0, pos).split('\n').length;
|
|
187
190
|
};
|
|
188
191
|
const callSites = [];
|
|
189
|
-
// The keys the extractor resolves for each call
|
|
190
|
-
//
|
|
192
|
+
// The keys the extractor resolves for each call, walked once and only for a file with a selector
|
|
193
|
+
// call: `t($ => $.a.b)` → ['a.b']
|
|
191
194
|
let keysByCall;
|
|
192
195
|
const keysOfCall = (call) => {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
let current;
|
|
196
|
-
const silent = { info() { }, warn() { }, error() { } };
|
|
197
|
-
const context = {
|
|
198
|
-
addKey: ({ key }) => { found.set(current, [...(found.get(current) ?? []), key]); },
|
|
199
|
-
config,
|
|
200
|
-
logger: silent,
|
|
201
|
-
getVarFromScope: () => undefined,
|
|
202
|
-
setVarInScope: () => { },
|
|
203
|
-
};
|
|
204
|
-
const visitors = new astVisitors.ASTVisitors(config, context, silent, { onBeforeVisitNode: (node) => { current = node; } });
|
|
205
|
-
visitors.setCurrentFile('', code);
|
|
206
|
-
visitors.visit(ast);
|
|
207
|
-
keysByCall = found;
|
|
208
|
-
}
|
|
209
|
-
return keysByCall.get(call) ?? [];
|
|
196
|
+
keysByCall ??= extractedKeysByNode(ast, code, config);
|
|
197
|
+
return (keysByCall.get(call) ?? []).map(({ key }) => key);
|
|
210
198
|
};
|
|
211
199
|
// Traverse AST for CallExpressions matching t() or i18n.t()
|
|
212
200
|
function walk(node, ancestors) {
|
|
@@ -530,6 +518,178 @@ function lintConcatenation(ast, code, config) {
|
|
|
530
518
|
walk(ast, null);
|
|
531
519
|
return issues;
|
|
532
520
|
}
|
|
521
|
+
// The keys the extractor resolves per node (a t() call, a <Trans> element): selector path, keyPrefix,
|
|
522
|
+
// namespace scope, context and plural forms included
|
|
523
|
+
function extractedKeysByNode(ast, code, config) {
|
|
524
|
+
const found = new Map();
|
|
525
|
+
let current;
|
|
526
|
+
const silent = { info() { }, warn() { }, error() { } };
|
|
527
|
+
const context = {
|
|
528
|
+
addKey: (key) => { found.set(current, [...(found.get(current) ?? []), key]); },
|
|
529
|
+
config,
|
|
530
|
+
logger: silent,
|
|
531
|
+
getVarFromScope: () => undefined,
|
|
532
|
+
setVarInScope: () => { },
|
|
533
|
+
};
|
|
534
|
+
const visitors = new astVisitors.ASTVisitors(config, context, silent, { onBeforeVisitNode: (node) => { current = node; } });
|
|
535
|
+
visitors.setCurrentFile('', code);
|
|
536
|
+
visitors.visit(ast);
|
|
537
|
+
return found;
|
|
538
|
+
}
|
|
539
|
+
// The children as the extractor counts them for the default value (swcChildrenToReactNodes in jsx-parser.ts):
|
|
540
|
+
// whitespace with a line break and {/* comments */} are no children, a {' '} is one
|
|
541
|
+
function transChildren(children) {
|
|
542
|
+
const result = [];
|
|
543
|
+
for (const child of children) {
|
|
544
|
+
if (child.type === 'JSXText') {
|
|
545
|
+
const text = jsxParser.trimTextNode(child.value);
|
|
546
|
+
if (text !== null)
|
|
547
|
+
result.push({ kind: 'text', text });
|
|
548
|
+
}
|
|
549
|
+
else if (child.type === 'JSXElement' || child.type === 'JSXFragment') {
|
|
550
|
+
const opening = child.type === 'JSXElement' ? child.opening : undefined;
|
|
551
|
+
result.push({
|
|
552
|
+
kind: 'element',
|
|
553
|
+
// only an HTML element (<p>) matches a kept HTML tag of the translation
|
|
554
|
+
name: opening?.name.type === 'Identifier' && /^[a-z]/.test(opening.name.value) ? opening.name.value : undefined,
|
|
555
|
+
children: transChildren(child.children),
|
|
556
|
+
dynamicList: !!opening?.attributes.some(a => a.type === 'JSXAttribute' && a.name.type === 'Identifier' && a.name.value === 'i18nIsDynamicList'),
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
else if (child.type === 'JSXExpressionContainer') {
|
|
560
|
+
let expr = child.expression;
|
|
561
|
+
while (expr.type === 'TsAsExpression' || expr.type === 'ParenthesisExpression')
|
|
562
|
+
expr = expr.expression;
|
|
563
|
+
if (expr.type === 'JSXEmptyExpression')
|
|
564
|
+
continue;
|
|
565
|
+
if (expr.type === 'StringLiteral')
|
|
566
|
+
result.push({ kind: 'text', text: expr.value });
|
|
567
|
+
else if (expr.type === 'TemplateLiteral' && astUtils.isSimpleTemplateLiteral(expr))
|
|
568
|
+
result.push({ kind: 'text', text: expr.quasis[0].raw });
|
|
569
|
+
else
|
|
570
|
+
result.push({ kind: 'other' });
|
|
571
|
+
}
|
|
572
|
+
else {
|
|
573
|
+
result.push({ kind: 'other' });
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
return result;
|
|
577
|
+
}
|
|
578
|
+
// The HTML elements React allows no children for
|
|
579
|
+
const voidElements = new Set(['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr']);
|
|
580
|
+
/**
|
|
581
|
+
* Resolves the tags of a translation against the <Trans> children like react-i18next's renderNodes and returns
|
|
582
|
+
* those that do not render what they wrap: a tag with content on a text child renders that text instead, a tag
|
|
583
|
+
* past the last child loses its markup, an empty tag drops the text of its element, and content on a `<br/>`
|
|
584
|
+
* makes React throw.
|
|
585
|
+
*/
|
|
586
|
+
function transTagProblems(children, value, keep) {
|
|
587
|
+
const problems = [];
|
|
588
|
+
const walk = (scope, nodes, path) => {
|
|
589
|
+
// an expression as the only child ({items}) may be an array, which react-i18next indexes into
|
|
590
|
+
if (scope.length === 1 && scope[0].kind === 'other')
|
|
591
|
+
return;
|
|
592
|
+
const keptSeen = {};
|
|
593
|
+
for (const node of nodes) {
|
|
594
|
+
if (node.type !== 'tag')
|
|
595
|
+
continue;
|
|
596
|
+
const hasContent = node.children.length > 0;
|
|
597
|
+
const tag = `${path}<${node.name}${hasContent ? '' : '/'}>`;
|
|
598
|
+
if (/^\d+$/.test(node.name)) {
|
|
599
|
+
const child = scope[Number(node.name)];
|
|
600
|
+
if (!child) {
|
|
601
|
+
problems.push(`${tag} points past the last child (${scope.length} ${scope.length === 1 ? 'child' : 'children'}), so it renders without its markup`);
|
|
602
|
+
}
|
|
603
|
+
else if (child.kind === 'text') {
|
|
604
|
+
if (hasContent)
|
|
605
|
+
problems.push(`${tag} points to the text ${JSON.stringify(child.text)}, which replaces its content`);
|
|
606
|
+
}
|
|
607
|
+
else if (child.kind === 'element' && !child.dynamicList) {
|
|
608
|
+
if (hasContent && child.name && voidElements.has(child.name))
|
|
609
|
+
problems.push(`${tag} points to <${child.name}/>, which cannot have content (React throws)`);
|
|
610
|
+
else if (!hasContent && child.children.some(c => c.kind === 'text'))
|
|
611
|
+
problems.push(`${tag} is empty, so the element it points to renders without its text`);
|
|
612
|
+
else
|
|
613
|
+
walk(child.children, node.children, `${tag} > `);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
else if (!node.voidElement) {
|
|
617
|
+
// a kept HTML tag (<p>, the only other tag parsed) opens the children of the n-th element of that
|
|
618
|
+
// name at its level (react-i18next#1919), or keeps the scope when there is none
|
|
619
|
+
const n = keptSeen[node.name] = (keptSeen[node.name] ?? -1) + 1;
|
|
620
|
+
const matched = scope.filter(c => c.kind === 'element' && c.name === node.name)[n];
|
|
621
|
+
walk(matched?.kind === 'element' ? matched.children : scope, node.children, `${tag} > `);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
// parsed like react-i18next does: wrapped in <0>, only numbered and kept HTML tags are markup
|
|
626
|
+
const [root] = htmlParseStringify.parse(`<0>${value}</0>`, { allowedTags: (name) => /^\d+$/.test(name) || keep.includes(name) });
|
|
627
|
+
if (root?.type === 'tag')
|
|
628
|
+
walk(children, root.children, '');
|
|
629
|
+
return problems;
|
|
630
|
+
}
|
|
631
|
+
// The primary language's value of a key, from the file `extract` writes it to: one per namespace, or a merged one
|
|
632
|
+
function primaryValueLookup(config) {
|
|
633
|
+
const { output, mergeNamespaces } = config.extract;
|
|
634
|
+
const primary = config.extract.primaryLanguage || config.locales[0] || 'en';
|
|
635
|
+
const keySeparator = config.extract.keySeparator ?? '.';
|
|
636
|
+
const merged = mergeNamespaces || (typeof output === 'string' && !output.includes('{{namespace}}'));
|
|
637
|
+
const files = new Map();
|
|
638
|
+
return async (namespace, key) => {
|
|
639
|
+
const file = fileUtils.getOutputPath(output, primary, merged ? undefined : namespace);
|
|
640
|
+
// a file that does not parse makes `extract`, `sync` and `status` fail loudly, so `lint` skips it
|
|
641
|
+
if (!files.has(file))
|
|
642
|
+
files.set(file, fileUtils.loadTranslationFile(file).catch(() => null));
|
|
643
|
+
let resources = await files.get(file);
|
|
644
|
+
// a merged file holds one object per namespace, unless it is flat (the rule of translation-manager.ts)
|
|
645
|
+
const namespaced = config.extract.defaultNS !== false && config.extract.nsSeparator !== false &&
|
|
646
|
+
Object.values(resources ?? {}).some(v => typeof v === 'object' && v !== null && !Array.isArray(v));
|
|
647
|
+
if (merged && namespace && namespaced)
|
|
648
|
+
resources = resources?.[namespace];
|
|
649
|
+
return resources ? nestedObject.getNestedValue(resources, key, keySeparator) : undefined;
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* `lint.checkTransIndices`: the tags of the primary language's translations of every <Trans> with children,
|
|
654
|
+
* context and plural forms included, against those children. A <Trans> with `components` is skipped.
|
|
655
|
+
* ponytail: keys resolve per file like keysOfCall, without extract's cross-file pre-scan, so a namespace or
|
|
656
|
+
* keyPrefix from an imported constant reads the defaultNS file; one findKeys pass per run if that matters.
|
|
657
|
+
*/
|
|
658
|
+
async function lintTransIndices(ast, code, config, primaryValue, severity) {
|
|
659
|
+
const transComponents = config.extract.transComponents || ['Trans'];
|
|
660
|
+
// ponytail: a file using react-i18next/icu.macro is skipped as a whole, its <Trans> compiles to `components`
|
|
661
|
+
if (!transComponents.some(name => code.includes(`<${name}`)) || code.includes('icu.macro'))
|
|
662
|
+
return [];
|
|
663
|
+
const keep = config.extract.transKeepBasicHtmlNodesFor ?? ['br', 'strong', 'i', 'p'];
|
|
664
|
+
const aliases = jsxAttributes.importAliases(ast);
|
|
665
|
+
const issues = [];
|
|
666
|
+
for (const [node, keys] of extractedKeysByNode(ast, code, config)) {
|
|
667
|
+
if (node?.type !== 'JSXElement' || !transComponents.includes(jsxAttributes.jsxElementName(node.opening.name, aliases) ?? ''))
|
|
668
|
+
continue;
|
|
669
|
+
if (node.opening.attributes.some((a) => a.type === 'JSXAttribute' && a.name?.value === 'components'))
|
|
670
|
+
continue;
|
|
671
|
+
const children = transChildren(node.children);
|
|
672
|
+
if (!children.length)
|
|
673
|
+
continue;
|
|
674
|
+
const line = astUtils.lineColumnFromOffset(code, node.span.start)?.line ?? 0;
|
|
675
|
+
const checked = new Set();
|
|
676
|
+
for (const { key, ns } of keys) {
|
|
677
|
+
// `defaultNS: false` writes the keys without a namespace
|
|
678
|
+
const namespace = ns === false ? undefined : ns || 'translation';
|
|
679
|
+
const label = namespace ? `${namespace}:${key}` : key;
|
|
680
|
+
if (checked.has(label))
|
|
681
|
+
continue;
|
|
682
|
+
checked.add(label);
|
|
683
|
+
const value = await primaryValue(namespace, key);
|
|
684
|
+
if (typeof value !== 'string')
|
|
685
|
+
continue;
|
|
686
|
+
for (const problem of transTagProblems(children, value, keep)) {
|
|
687
|
+
issues.push({ text: `${label}: ${problem}`, line, type: 'transIndex', severity });
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
return issues;
|
|
692
|
+
}
|
|
533
693
|
const recommendedAcceptedTags = jsxAttributes.acceptedTags.map(s => s.toLowerCase());
|
|
534
694
|
const recommendedAcceptedAttributes = jsxAttributes.translatableAttributes.map(s => s.toLowerCase());
|
|
535
695
|
const defaultIgnoredAttributes = jsxAttributes.ignoredAttributeLowerSet;
|
|
@@ -577,6 +737,8 @@ class Linter extends node_events.EventEmitter {
|
|
|
577
737
|
const translationValues = await loadPrimaryTranslationValues(config);
|
|
578
738
|
const { messageFormat: messageFormat$1 } = config.extract;
|
|
579
739
|
const analyze = messageFormat$1 === 'icu' || messageFormat$1 === 'mf2' ? await messageFormat.loadMessageAnalyzer(messageFormat$1) : undefined;
|
|
740
|
+
const transSetting = config.lint?.checkTransIndices;
|
|
741
|
+
const primaryValue = transSetting === false || transSetting === 'off' ? undefined : primaryValueLookup(config);
|
|
580
742
|
const plugins = config.plugins || [];
|
|
581
743
|
const lintPluginContext = this.createLintPluginContext(config);
|
|
582
744
|
await this.initializeLintPlugins(plugins, lintPluginContext);
|
|
@@ -644,9 +806,10 @@ class Linter extends node_events.EventEmitter {
|
|
|
644
806
|
}
|
|
645
807
|
}
|
|
646
808
|
// Normalise AST spans to file-relative character indices so the ignore
|
|
647
|
-
// directive can resolve the line range of the JSX element it precedes
|
|
809
|
+
// directive can resolve the line range of the JSX element it precedes,
|
|
810
|
+
// and lintTransIndices reports the line of a <Trans>.
|
|
648
811
|
// (findHardcodedStrings/lintInterpolationParams locate issues via text
|
|
649
|
-
// search and don't read spans
|
|
812
|
+
// search and don't read spans.)
|
|
650
813
|
try {
|
|
651
814
|
astUtils.normalizeSpansToCharIndices(ast, code);
|
|
652
815
|
}
|
|
@@ -660,7 +823,9 @@ class Linter extends node_events.EventEmitter {
|
|
|
660
823
|
const interpolationIssues = lintInterpolationParams(ast, code, config, translationValues, analyze);
|
|
661
824
|
// Collect string-concatenation issues
|
|
662
825
|
const concatenationIssues = lintConcatenation(ast, code, config);
|
|
663
|
-
|
|
826
|
+
// Collect <Trans> tags of the primary translation that miss their children
|
|
827
|
+
const transIndexIssues = primaryValue ? await lintTransIndices(ast, code, config, primaryValue, transSetting === 'error' ? 'error' : 'warning') : [];
|
|
828
|
+
let allIssues = [...hardcodedStrings, ...interpolationIssues, ...concatenationIssues, ...transIndexIssues];
|
|
664
829
|
// Filter issues suppressed by ignore-directive comments.
|
|
665
830
|
// i18next-instrument-ignore-next-line → suppresses the single next line
|
|
666
831
|
// i18next-instrument-ignore → suppresses the whole next JSX element
|
|
@@ -861,7 +1026,9 @@ async function runLinterCli(config, options = {}) {
|
|
|
861
1026
|
? `${config.extract.messageFormat === 'mf2' ? 'MF2' : 'ICU'} message`
|
|
862
1027
|
: type === 'placeholder'
|
|
863
1028
|
? 'Placeholder mismatch'
|
|
864
|
-
:
|
|
1029
|
+
: type === 'transIndex'
|
|
1030
|
+
? '<Trans> tag'
|
|
1031
|
+
: 'Found hardcoded string';
|
|
865
1032
|
const tag = severity === 'warning' ? node_util.styleText('yellow', 'Warning:') : node_util.styleText('red', 'Error:');
|
|
866
1033
|
// line 0: a translation file whose format has no line lookup (YAML, JS)
|
|
867
1034
|
const detail = ` ${line ? `${node_util.styleText('gray', `${line}:`)} ` : ''}${tag} ${label}: "${text}"`;
|
package/dist/esm/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ const program = new Command();
|
|
|
33
33
|
program
|
|
34
34
|
.name('i18next-cli')
|
|
35
35
|
.description('A unified, high-performance i18next CLI.')
|
|
36
|
-
.version('1.
|
|
36
|
+
.version('1.91.0') // This string is replaced with the actual version at build time by rollup
|
|
37
37
|
.addHelpText('after', '\nUsing an AI coding agent? Install the i18next-localization skill: npx skills add i18next/i18next-cli\n');
|
|
38
38
|
// new: global config override option
|
|
39
39
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
@@ -501,8 +501,9 @@ function getElementName(element) {
|
|
|
501
501
|
}
|
|
502
502
|
function trimTextNode(text) {
|
|
503
503
|
text = text.replace(/\r\n/g, '\n'); // Normalize line endings
|
|
504
|
-
// If text is ONLY whitespace AND contains a newline, remove it entirely
|
|
505
|
-
|
|
504
|
+
// If text is ONLY whitespace AND contains a newline, remove it entirely. Only spaces and tabs, like
|
|
505
|
+
// Babel and SWC: an ` ` at the end of a line (U+00A0, which `\s` matches) stays a child
|
|
506
|
+
if (/^[ \t\n]+$/.test(text) && /\n/.test(text)) {
|
|
506
507
|
return null;
|
|
507
508
|
}
|
|
508
509
|
// Trim leading/trailing whitespace sequences containing newlines
|
|
@@ -668,4 +669,4 @@ function serializeJSXChildren(children, config) {
|
|
|
668
669
|
return rt.nodesToString(swcChildrenToReactNodes(children), i18nextOptions);
|
|
669
670
|
}
|
|
670
671
|
|
|
671
|
-
export { extractFromIcuMacro, extractFromIcuTrans, extractFromTransComponent };
|
|
672
|
+
export { extractFromIcuMacro, extractFromIcuTrans, extractFromTransComponent, trimTextNode };
|
package/dist/esm/linter.js
CHANGED
|
@@ -6,11 +6,14 @@ import { EventEmitter } from 'node:events';
|
|
|
6
6
|
import { styleText } from 'node:util';
|
|
7
7
|
import { ConsoleLogger } from './utils/logger.js';
|
|
8
8
|
import { createSpinnerLike } from './utils/wrap-ora.js';
|
|
9
|
-
import { acceptedTags, translatableAttributes, ignoredTags, ignoredAttributeLowerSet, importAliases,
|
|
10
|
-
import { normalizeSpansToCharIndices, collectIgnoredLineRanges, lineColumnFromOffset } from './extractor/parsers/ast-utils.js';
|
|
9
|
+
import { acceptedTags, translatableAttributes, ignoredTags, ignoredAttributeLowerSet, importAliases, jsxElementName, resolveElementAttributes } from './utils/jsx-attributes.js';
|
|
10
|
+
import { normalizeSpansToCharIndices, collectIgnoredLineRanges, lineColumnFromOffset, isSimpleTemplateLiteral } from './extractor/parsers/ast-utils.js';
|
|
11
|
+
import { trimTextNode } from './extractor/parsers/jsx-parser.js';
|
|
11
12
|
import { matchesFunctionPattern } from './extractor/utils/function-matcher.js';
|
|
12
13
|
import { ASTVisitors } from './extractor/core/ast-visitors.js';
|
|
13
14
|
import { getNestedKeys, getNestedValue } from './utils/nested-object.js';
|
|
15
|
+
import { getOutputPath, loadTranslationFile } from './utils/file-utils.js';
|
|
16
|
+
import { parse as parse$1 } from 'html-parse-stringify';
|
|
14
17
|
import { loadMessageAnalyzer, lintMessageFormatResources, lintI18nextResources, interpolationNames } from './utils/message-format.js';
|
|
15
18
|
import { lintBaselinePath, writeLintBaseline, readLintBaseline, applyLintBaseline } from './utils/lint-baseline.js';
|
|
16
19
|
import { shouldShowFunnel, recordFunnelShown } from './utils/funnel-msg-tracker.js';
|
|
@@ -184,27 +187,12 @@ function lintInterpolationParams(ast, code, config, translationValues, analyze)
|
|
|
184
187
|
return code.substring(0, pos).split('\n').length;
|
|
185
188
|
};
|
|
186
189
|
const callSites = [];
|
|
187
|
-
// The keys the extractor resolves for each call
|
|
188
|
-
//
|
|
190
|
+
// The keys the extractor resolves for each call, walked once and only for a file with a selector
|
|
191
|
+
// call: `t($ => $.a.b)` → ['a.b']
|
|
189
192
|
let keysByCall;
|
|
190
193
|
const keysOfCall = (call) => {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
let current;
|
|
194
|
-
const silent = { info() { }, warn() { }, error() { } };
|
|
195
|
-
const context = {
|
|
196
|
-
addKey: ({ key }) => { found.set(current, [...(found.get(current) ?? []), key]); },
|
|
197
|
-
config,
|
|
198
|
-
logger: silent,
|
|
199
|
-
getVarFromScope: () => undefined,
|
|
200
|
-
setVarInScope: () => { },
|
|
201
|
-
};
|
|
202
|
-
const visitors = new ASTVisitors(config, context, silent, { onBeforeVisitNode: (node) => { current = node; } });
|
|
203
|
-
visitors.setCurrentFile('', code);
|
|
204
|
-
visitors.visit(ast);
|
|
205
|
-
keysByCall = found;
|
|
206
|
-
}
|
|
207
|
-
return keysByCall.get(call) ?? [];
|
|
194
|
+
keysByCall ??= extractedKeysByNode(ast, code, config);
|
|
195
|
+
return (keysByCall.get(call) ?? []).map(({ key }) => key);
|
|
208
196
|
};
|
|
209
197
|
// Traverse AST for CallExpressions matching t() or i18n.t()
|
|
210
198
|
function walk(node, ancestors) {
|
|
@@ -528,6 +516,178 @@ function lintConcatenation(ast, code, config) {
|
|
|
528
516
|
walk(ast, null);
|
|
529
517
|
return issues;
|
|
530
518
|
}
|
|
519
|
+
// The keys the extractor resolves per node (a t() call, a <Trans> element): selector path, keyPrefix,
|
|
520
|
+
// namespace scope, context and plural forms included
|
|
521
|
+
function extractedKeysByNode(ast, code, config) {
|
|
522
|
+
const found = new Map();
|
|
523
|
+
let current;
|
|
524
|
+
const silent = { info() { }, warn() { }, error() { } };
|
|
525
|
+
const context = {
|
|
526
|
+
addKey: (key) => { found.set(current, [...(found.get(current) ?? []), key]); },
|
|
527
|
+
config,
|
|
528
|
+
logger: silent,
|
|
529
|
+
getVarFromScope: () => undefined,
|
|
530
|
+
setVarInScope: () => { },
|
|
531
|
+
};
|
|
532
|
+
const visitors = new ASTVisitors(config, context, silent, { onBeforeVisitNode: (node) => { current = node; } });
|
|
533
|
+
visitors.setCurrentFile('', code);
|
|
534
|
+
visitors.visit(ast);
|
|
535
|
+
return found;
|
|
536
|
+
}
|
|
537
|
+
// The children as the extractor counts them for the default value (swcChildrenToReactNodes in jsx-parser.ts):
|
|
538
|
+
// whitespace with a line break and {/* comments */} are no children, a {' '} is one
|
|
539
|
+
function transChildren(children) {
|
|
540
|
+
const result = [];
|
|
541
|
+
for (const child of children) {
|
|
542
|
+
if (child.type === 'JSXText') {
|
|
543
|
+
const text = trimTextNode(child.value);
|
|
544
|
+
if (text !== null)
|
|
545
|
+
result.push({ kind: 'text', text });
|
|
546
|
+
}
|
|
547
|
+
else if (child.type === 'JSXElement' || child.type === 'JSXFragment') {
|
|
548
|
+
const opening = child.type === 'JSXElement' ? child.opening : undefined;
|
|
549
|
+
result.push({
|
|
550
|
+
kind: 'element',
|
|
551
|
+
// only an HTML element (<p>) matches a kept HTML tag of the translation
|
|
552
|
+
name: opening?.name.type === 'Identifier' && /^[a-z]/.test(opening.name.value) ? opening.name.value : undefined,
|
|
553
|
+
children: transChildren(child.children),
|
|
554
|
+
dynamicList: !!opening?.attributes.some(a => a.type === 'JSXAttribute' && a.name.type === 'Identifier' && a.name.value === 'i18nIsDynamicList'),
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
else if (child.type === 'JSXExpressionContainer') {
|
|
558
|
+
let expr = child.expression;
|
|
559
|
+
while (expr.type === 'TsAsExpression' || expr.type === 'ParenthesisExpression')
|
|
560
|
+
expr = expr.expression;
|
|
561
|
+
if (expr.type === 'JSXEmptyExpression')
|
|
562
|
+
continue;
|
|
563
|
+
if (expr.type === 'StringLiteral')
|
|
564
|
+
result.push({ kind: 'text', text: expr.value });
|
|
565
|
+
else if (expr.type === 'TemplateLiteral' && isSimpleTemplateLiteral(expr))
|
|
566
|
+
result.push({ kind: 'text', text: expr.quasis[0].raw });
|
|
567
|
+
else
|
|
568
|
+
result.push({ kind: 'other' });
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
571
|
+
result.push({ kind: 'other' });
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
return result;
|
|
575
|
+
}
|
|
576
|
+
// The HTML elements React allows no children for
|
|
577
|
+
const voidElements = new Set(['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr']);
|
|
578
|
+
/**
|
|
579
|
+
* Resolves the tags of a translation against the <Trans> children like react-i18next's renderNodes and returns
|
|
580
|
+
* those that do not render what they wrap: a tag with content on a text child renders that text instead, a tag
|
|
581
|
+
* past the last child loses its markup, an empty tag drops the text of its element, and content on a `<br/>`
|
|
582
|
+
* makes React throw.
|
|
583
|
+
*/
|
|
584
|
+
function transTagProblems(children, value, keep) {
|
|
585
|
+
const problems = [];
|
|
586
|
+
const walk = (scope, nodes, path) => {
|
|
587
|
+
// an expression as the only child ({items}) may be an array, which react-i18next indexes into
|
|
588
|
+
if (scope.length === 1 && scope[0].kind === 'other')
|
|
589
|
+
return;
|
|
590
|
+
const keptSeen = {};
|
|
591
|
+
for (const node of nodes) {
|
|
592
|
+
if (node.type !== 'tag')
|
|
593
|
+
continue;
|
|
594
|
+
const hasContent = node.children.length > 0;
|
|
595
|
+
const tag = `${path}<${node.name}${hasContent ? '' : '/'}>`;
|
|
596
|
+
if (/^\d+$/.test(node.name)) {
|
|
597
|
+
const child = scope[Number(node.name)];
|
|
598
|
+
if (!child) {
|
|
599
|
+
problems.push(`${tag} points past the last child (${scope.length} ${scope.length === 1 ? 'child' : 'children'}), so it renders without its markup`);
|
|
600
|
+
}
|
|
601
|
+
else if (child.kind === 'text') {
|
|
602
|
+
if (hasContent)
|
|
603
|
+
problems.push(`${tag} points to the text ${JSON.stringify(child.text)}, which replaces its content`);
|
|
604
|
+
}
|
|
605
|
+
else if (child.kind === 'element' && !child.dynamicList) {
|
|
606
|
+
if (hasContent && child.name && voidElements.has(child.name))
|
|
607
|
+
problems.push(`${tag} points to <${child.name}/>, which cannot have content (React throws)`);
|
|
608
|
+
else if (!hasContent && child.children.some(c => c.kind === 'text'))
|
|
609
|
+
problems.push(`${tag} is empty, so the element it points to renders without its text`);
|
|
610
|
+
else
|
|
611
|
+
walk(child.children, node.children, `${tag} > `);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
else if (!node.voidElement) {
|
|
615
|
+
// a kept HTML tag (<p>, the only other tag parsed) opens the children of the n-th element of that
|
|
616
|
+
// name at its level (react-i18next#1919), or keeps the scope when there is none
|
|
617
|
+
const n = keptSeen[node.name] = (keptSeen[node.name] ?? -1) + 1;
|
|
618
|
+
const matched = scope.filter(c => c.kind === 'element' && c.name === node.name)[n];
|
|
619
|
+
walk(matched?.kind === 'element' ? matched.children : scope, node.children, `${tag} > `);
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
// parsed like react-i18next does: wrapped in <0>, only numbered and kept HTML tags are markup
|
|
624
|
+
const [root] = parse$1(`<0>${value}</0>`, { allowedTags: (name) => /^\d+$/.test(name) || keep.includes(name) });
|
|
625
|
+
if (root?.type === 'tag')
|
|
626
|
+
walk(children, root.children, '');
|
|
627
|
+
return problems;
|
|
628
|
+
}
|
|
629
|
+
// The primary language's value of a key, from the file `extract` writes it to: one per namespace, or a merged one
|
|
630
|
+
function primaryValueLookup(config) {
|
|
631
|
+
const { output, mergeNamespaces } = config.extract;
|
|
632
|
+
const primary = config.extract.primaryLanguage || config.locales[0] || 'en';
|
|
633
|
+
const keySeparator = config.extract.keySeparator ?? '.';
|
|
634
|
+
const merged = mergeNamespaces || (typeof output === 'string' && !output.includes('{{namespace}}'));
|
|
635
|
+
const files = new Map();
|
|
636
|
+
return async (namespace, key) => {
|
|
637
|
+
const file = getOutputPath(output, primary, merged ? undefined : namespace);
|
|
638
|
+
// a file that does not parse makes `extract`, `sync` and `status` fail loudly, so `lint` skips it
|
|
639
|
+
if (!files.has(file))
|
|
640
|
+
files.set(file, loadTranslationFile(file).catch(() => null));
|
|
641
|
+
let resources = await files.get(file);
|
|
642
|
+
// a merged file holds one object per namespace, unless it is flat (the rule of translation-manager.ts)
|
|
643
|
+
const namespaced = config.extract.defaultNS !== false && config.extract.nsSeparator !== false &&
|
|
644
|
+
Object.values(resources ?? {}).some(v => typeof v === 'object' && v !== null && !Array.isArray(v));
|
|
645
|
+
if (merged && namespace && namespaced)
|
|
646
|
+
resources = resources?.[namespace];
|
|
647
|
+
return resources ? getNestedValue(resources, key, keySeparator) : undefined;
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* `lint.checkTransIndices`: the tags of the primary language's translations of every <Trans> with children,
|
|
652
|
+
* context and plural forms included, against those children. A <Trans> with `components` is skipped.
|
|
653
|
+
* ponytail: keys resolve per file like keysOfCall, without extract's cross-file pre-scan, so a namespace or
|
|
654
|
+
* keyPrefix from an imported constant reads the defaultNS file; one findKeys pass per run if that matters.
|
|
655
|
+
*/
|
|
656
|
+
async function lintTransIndices(ast, code, config, primaryValue, severity) {
|
|
657
|
+
const transComponents = config.extract.transComponents || ['Trans'];
|
|
658
|
+
// ponytail: a file using react-i18next/icu.macro is skipped as a whole, its <Trans> compiles to `components`
|
|
659
|
+
if (!transComponents.some(name => code.includes(`<${name}`)) || code.includes('icu.macro'))
|
|
660
|
+
return [];
|
|
661
|
+
const keep = config.extract.transKeepBasicHtmlNodesFor ?? ['br', 'strong', 'i', 'p'];
|
|
662
|
+
const aliases = importAliases(ast);
|
|
663
|
+
const issues = [];
|
|
664
|
+
for (const [node, keys] of extractedKeysByNode(ast, code, config)) {
|
|
665
|
+
if (node?.type !== 'JSXElement' || !transComponents.includes(jsxElementName(node.opening.name, aliases) ?? ''))
|
|
666
|
+
continue;
|
|
667
|
+
if (node.opening.attributes.some((a) => a.type === 'JSXAttribute' && a.name?.value === 'components'))
|
|
668
|
+
continue;
|
|
669
|
+
const children = transChildren(node.children);
|
|
670
|
+
if (!children.length)
|
|
671
|
+
continue;
|
|
672
|
+
const line = lineColumnFromOffset(code, node.span.start)?.line ?? 0;
|
|
673
|
+
const checked = new Set();
|
|
674
|
+
for (const { key, ns } of keys) {
|
|
675
|
+
// `defaultNS: false` writes the keys without a namespace
|
|
676
|
+
const namespace = ns === false ? undefined : ns || 'translation';
|
|
677
|
+
const label = namespace ? `${namespace}:${key}` : key;
|
|
678
|
+
if (checked.has(label))
|
|
679
|
+
continue;
|
|
680
|
+
checked.add(label);
|
|
681
|
+
const value = await primaryValue(namespace, key);
|
|
682
|
+
if (typeof value !== 'string')
|
|
683
|
+
continue;
|
|
684
|
+
for (const problem of transTagProblems(children, value, keep)) {
|
|
685
|
+
issues.push({ text: `${label}: ${problem}`, line, type: 'transIndex', severity });
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
return issues;
|
|
690
|
+
}
|
|
531
691
|
const recommendedAcceptedTags = acceptedTags.map(s => s.toLowerCase());
|
|
532
692
|
const recommendedAcceptedAttributes = translatableAttributes.map(s => s.toLowerCase());
|
|
533
693
|
const defaultIgnoredAttributes = ignoredAttributeLowerSet;
|
|
@@ -575,6 +735,8 @@ class Linter extends EventEmitter {
|
|
|
575
735
|
const translationValues = await loadPrimaryTranslationValues(config);
|
|
576
736
|
const { messageFormat } = config.extract;
|
|
577
737
|
const analyze = messageFormat === 'icu' || messageFormat === 'mf2' ? await loadMessageAnalyzer(messageFormat) : undefined;
|
|
738
|
+
const transSetting = config.lint?.checkTransIndices;
|
|
739
|
+
const primaryValue = transSetting === false || transSetting === 'off' ? undefined : primaryValueLookup(config);
|
|
578
740
|
const plugins = config.plugins || [];
|
|
579
741
|
const lintPluginContext = this.createLintPluginContext(config);
|
|
580
742
|
await this.initializeLintPlugins(plugins, lintPluginContext);
|
|
@@ -642,9 +804,10 @@ class Linter extends EventEmitter {
|
|
|
642
804
|
}
|
|
643
805
|
}
|
|
644
806
|
// Normalise AST spans to file-relative character indices so the ignore
|
|
645
|
-
// directive can resolve the line range of the JSX element it precedes
|
|
807
|
+
// directive can resolve the line range of the JSX element it precedes,
|
|
808
|
+
// and lintTransIndices reports the line of a <Trans>.
|
|
646
809
|
// (findHardcodedStrings/lintInterpolationParams locate issues via text
|
|
647
|
-
// search and don't read spans
|
|
810
|
+
// search and don't read spans.)
|
|
648
811
|
try {
|
|
649
812
|
normalizeSpansToCharIndices(ast, code);
|
|
650
813
|
}
|
|
@@ -658,7 +821,9 @@ class Linter extends EventEmitter {
|
|
|
658
821
|
const interpolationIssues = lintInterpolationParams(ast, code, config, translationValues, analyze);
|
|
659
822
|
// Collect string-concatenation issues
|
|
660
823
|
const concatenationIssues = lintConcatenation(ast, code, config);
|
|
661
|
-
|
|
824
|
+
// Collect <Trans> tags of the primary translation that miss their children
|
|
825
|
+
const transIndexIssues = primaryValue ? await lintTransIndices(ast, code, config, primaryValue, transSetting === 'error' ? 'error' : 'warning') : [];
|
|
826
|
+
let allIssues = [...hardcodedStrings, ...interpolationIssues, ...concatenationIssues, ...transIndexIssues];
|
|
662
827
|
// Filter issues suppressed by ignore-directive comments.
|
|
663
828
|
// i18next-instrument-ignore-next-line → suppresses the single next line
|
|
664
829
|
// i18next-instrument-ignore → suppresses the whole next JSX element
|
|
@@ -859,7 +1024,9 @@ async function runLinterCli(config, options = {}) {
|
|
|
859
1024
|
? `${config.extract.messageFormat === 'mf2' ? 'MF2' : 'ICU'} message`
|
|
860
1025
|
: type === 'placeholder'
|
|
861
1026
|
? 'Placeholder mismatch'
|
|
862
|
-
:
|
|
1027
|
+
: type === 'transIndex'
|
|
1028
|
+
? '<Trans> tag'
|
|
1029
|
+
: 'Found hardcoded string';
|
|
863
1030
|
const tag = severity === 'warning' ? styleText('yellow', 'Warning:') : styleText('red', 'Error:');
|
|
864
1031
|
// line 0: a translation file whose format has no line lookup (YAML, JS)
|
|
865
1032
|
const detail = ` ${line ? `${styleText('gray', `${line}:`)} ` : ''}${tag} ${label}: "${text}"`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "i18next-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.91.0",
|
|
4
4
|
"description": "A unified, high-performance i18next CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"chokidar": "^5.0.0",
|
|
83
83
|
"commander": "^15.0.0",
|
|
84
84
|
"glob": "^14.0.3",
|
|
85
|
+
"html-parse-stringify": "^4.0.1",
|
|
85
86
|
"i18next": "^27.0.0",
|
|
86
87
|
"i18next-resources-for-ts": "^2.1.2",
|
|
87
88
|
"jiti": "^2.7.0",
|
|
@@ -70,4 +70,5 @@ export type IcuMacroComponent = 'Trans' | 'Plural' | 'Select' | 'SelectOrdinal';
|
|
|
70
70
|
* - `<Select switch={gender} male="He" other="They" />` → `{gender, select, male {He} other {They}}`
|
|
71
71
|
*/
|
|
72
72
|
export declare function extractFromIcuMacro(node: JSXElement, component: IcuMacroComponent): ExtractedJSXAttributes | null;
|
|
73
|
+
export declare function trimTextNode(text: string): string | null;
|
|
73
74
|
//# sourceMappingURL=jsx-parser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-parser.d.ts","sourceRoot":"","sources":["../../../src/extractor/parsers/jsx-parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAiBzD"}
|
package/types/linter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../src/linter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../src/linter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAgB1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS,EAA2C,MAAM,YAAY,CAAA;AA2pBlH,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE;QAAC;YACT,OAAO,EAAE,MAAM,CAAC;SACjB;KAAC,CAAC;IACH,IAAI,EAAE;QAAC;YACL,OAAO,EAAE,OAAO,CAAC;YACjB,OAAO,EAAE,MAAM,CAAC;YAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;YACnC,2DAA2D;YAC3D,cAAc,EAAE,MAAM,CAAC;YACvB,4CAA4C;YAC5C,oBAAoB,EAAE,MAAM,CAAC;SAC9B;KAAC,CAAC;IACH,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;CACvB,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,MAAM,EAAiD,CAAA;AAC7F,eAAO,MAAM,6BAA6B,EAAE,MAAM,EAAqD,CAAA;AAKvG,qBAAa,MAAO,SAAQ,YAAY,CAAC,cAAc,CAAC;IACtD,OAAO,CAAC,MAAM,CAAsB;IACpC,OAAO,CAAC,MAAM,CAAQ;gBAET,MAAM,EAAE,oBAAoB,EAAE,MAAM,GAAE,MAA4B;IAM/E,SAAS,CAAE,KAAK,EAAE,OAAO;IAazB,wHAAwH;IAClH,GAAG,CAAE,OAAO,GAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAO;;;;;;;;;IAsKrD,OAAO,CAAC,uBAAuB;YAOjB,qBAAqB;IAWnC,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,0BAA0B;YAUpB,qBAAqB;YAgBrB,uBAAuB;CAgBtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,SAAS,CAAE,MAAM,EAAE,oBAAoB;;;;;;;;GAE5D;AAED,wBAAsB,YAAY,CAChC,MAAM,EAAE,oBAAoB,EAC5B,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAO,iBA0E7E"}
|
package/types/types.d.ts
CHANGED
|
@@ -330,6 +330,19 @@ export interface I18nextToolkitConfig {
|
|
|
330
330
|
* Accepts the same values as {@link checkConcatenation}.
|
|
331
331
|
*/
|
|
332
332
|
checkTranslationPlaceholders?: boolean | 'off' | 'warn' | 'error';
|
|
333
|
+
/** Check the numbered tags of `<Trans>` translations against the component's children (default: `'warn'`).
|
|
334
|
+
*
|
|
335
|
+
* `<Trans>` numbers its children, text included: in `Hello{' '}<b>world</b>` the `{' '}` a formatter
|
|
336
|
+
* inserts is child 1 and `<b>` child 2. The tags of the primary language's translation (context and plural
|
|
337
|
+
* forms included) are resolved like react-i18next does at runtime, and a tag that does not render what it
|
|
338
|
+
* wraps is reported: on a text child (`Hello <1>world</1>` renders `Hello `), past the last child (the
|
|
339
|
+
* markup is lost), empty on an element with text (`<2/>`), or with content on a `<br/>` (React throws).
|
|
340
|
+
* A `<Trans>` with `components` is skipped. Only the primary language is checked;
|
|
341
|
+
* {@link checkTranslationPlaceholders} compares the tags of the other languages with it.
|
|
342
|
+
*
|
|
343
|
+
* Accepts the same values as {@link checkConcatenation}.
|
|
344
|
+
*/
|
|
345
|
+
checkTransIndices?: boolean | 'off' | 'warn' | 'error';
|
|
333
346
|
/** Path of the baseline file `lint --update-baseline` writes (default: `'i18next-lint-baseline.json'`).
|
|
334
347
|
*
|
|
335
348
|
* When the file exists, `lint` reports and fails only on issues it does not hold, so existing
|
|
@@ -462,8 +475,8 @@ export interface LintIssue {
|
|
|
462
475
|
text: string;
|
|
463
476
|
/** Line number where the issue was found (0 when unknown, e.g. a key in a YAML translation file) */
|
|
464
477
|
line: number;
|
|
465
|
-
/** Issue category. `messageFormat` (`extract.messageFormat` `'icu'` or `'mf2'`) and `placeholder` (i18next format) issues are reported for translation files. */
|
|
466
|
-
type?: 'hardcoded' | 'interpolation' | 'concatenation' | 'messageFormat' | 'placeholder';
|
|
478
|
+
/** Issue category. `messageFormat` (`extract.messageFormat` `'icu'` or `'mf2'`) and `placeholder` (i18next format) issues are reported for translation files, `transIndex` for the `<Trans>` whose translation it checks. */
|
|
479
|
+
type?: 'hardcoded' | 'interpolation' | 'concatenation' | 'messageFormat' | 'placeholder' | 'transIndex';
|
|
467
480
|
/** Severity of the issue. Defaults to 'error' (fails the lint run / CI); 'warning' is
|
|
468
481
|
* reported but does not fail the run. Concatenation issues are reported as warnings. */
|
|
469
482
|
severity?: 'error' | 'warning';
|
package/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAEnE;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;AAErD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,2DAA2D;IAC3D,OAAO,EAAE;QACP;;;;;;;WAOG;QACH,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;QAEz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