We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78c7c9 commit fc13427Copy full SHA for fc13427
lib/rules/no-raw-text.js
@@ -31,7 +31,7 @@ module.exports = (context) => {
31
};
32
33
const skippedElements = options.skip ? options.skip : [];
34
- const allowedElements = ['Text', 'TSpan', 'StyledText'].concat(skippedElements);
+ const allowedElements = ['Text', 'TSpan', 'StyledText', 'Animated.Text'].concat(skippedElements);
35
36
const hasOnlyLineBreak = value => /^[\r\n\t\f\v]+$/.test(value.replace(/ /g, ''));
37
0 commit comments