File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,17 @@ function trimIfString(val) {
23
23
24
24
const messages = {
25
25
invalidPropValue : 'Invalid prop value: "{{text}}"' ,
26
+ invalidPropValueInElement : 'Invalid prop value: "{{text}}" in {{element}}' ,
26
27
noStringsInAttributes : 'Strings not allowed in attributes: "{{text}}"' ,
28
+ noStringsInAttributesInElement :
29
+ 'Strings not allowed in attributes: "{{text}}" in {{element}}' ,
27
30
noStringsInJSX : 'Strings not allowed in JSX files: "{{text}}"' ,
31
+ noStringsInJSXInElement :
32
+ 'Strings not allowed in JSX files: "{{text}}" in {{element}}' ,
28
33
literalNotInJSXExpression :
29
34
'Missing JSX expression container around literal string: "{{text}}"' ,
35
+ literalNotInJSXExpressionInElement :
36
+ 'Missing JSX expression container around literal string: "{{text}}" in {{element}}' ,
30
37
} ;
31
38
32
39
/** @type {import('json-schema').JSONSchema4['properties'] } */
You can’t perform that action at this time.
0 commit comments