language-javascript-jsx
language-javascript-jsx copied to clipboard
Problem handling "function" keyword as object attribute
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: