just getting into xo in combination with a react project.
is there a way to get xo to be ok with decorators?
decorators are mentioned briefly here, but this verbiage was removed.
are they supposed to be supported and i'm just misconfigured, or are they shunned?
You can try adding babel-eslint to your devDependencies and in your package.json file add the following:
babel-eslint
devDependencies
{ "xo": { "parser": "babel-eslint" } }
Check the docs here.
thanks josh, works great! 馃憤
Glad to hear it :)
Most helpful comment
You can try adding
babel-eslintto yourdevDependenciesand in your package.json file add the following:Check the docs here.