Skip to content

Commit 23a2c86

Browse files
authoredApr 14, 2019
Merge pull request #226 from nerdfitness/add-animated-text-allowed
Add Animated.Text to allowed rules list
2 parents b78c7c9 + fc13427 commit 23a2c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/rules/no-raw-text.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = (context) => {
3131
};
3232

3333
const skippedElements = options.skip ? options.skip : [];
34-
const allowedElements = ['Text', 'TSpan', 'StyledText'].concat(skippedElements);
34+
const allowedElements = ['Text', 'TSpan', 'StyledText', 'Animated.Text'].concat(skippedElements);
3535

3636
const hasOnlyLineBreak = value => /^[\r\n\t\f\v]+$/.test(value.replace(/ /g, ''));
3737

0 commit comments

Comments
 (0)
Please sign in to comment.