subtleGradient / language-javascript-jsx

JavaScript with JSX Bundle for Atom
45 stars 6 forks source link

Problem handling "function" keyword as object attribute #38

Open yookoala opened 7 years ago

yookoala commented 7 years ago

The highlight to keyword function expects a function even it is, at this instance, an object attribute. Also eslint dot-notation rule in favour of this syntax instead of PropTypes['function']. Which results in this mess up output:

2017-05-22 16-12-48