I'm using standardJS (eslint). For this line I do get a parsing error: Unexpected token = (null)
, which I do not understand:
static displayName = `WithData(${getComponentDisplayName(ComposedComponent)})`
Do I have to add any configuration? I am just using this in my package.json:
"standard": {
"env": [
"mocha"
],
"global": [
"React"
]
}