Skip to content

Commit

Permalink
Fix issue #31
Browse files Browse the repository at this point in the history
  • Loading branch information
YozhikM committed Jul 15, 2018
1 parent 81496c8 commit 97859c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/no-spread-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const textStyles = [
const nodesProbablyForText = nodes =>
nodes
.map(node => node.prop)
.filter(Boolean)
.map(prop => prop.toLowerCase())
.some(prop => textStyles.includes(prop));

Expand Down

0 comments on commit 97859c4

Please sign in to comment.