We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b78c7c9 + fc13427 commit 23a2c86Copy full SHA for 23a2c86
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