Skip to content

How To Stop Error "Parsing error: Using the export keyword between a decorator and a class is not allowed. Please use export @dec class instead." #5287

Answered by SaraVieira
LogicRoom asked this question in General
Discussion options

You must be logged in to vote

Hey!

I am so sorry you are having issues with our eslint.

At this moment there is no way to change the configuration or disable eslint and that is something we are working on

I did find a couple of issues related to the error you had: https://stackoverflow.com/questions/53483066/babel-7-using-the-export-keyword-between-a-decorator-and-a-class-is-not-allowed

And exporting it in a different line did make the error go away

http://localhost:3000/s/standards-mobx6-inversify17-forked-3gnki?file=/src/Components/LeftPresenter.js

Sorry there is no better way

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LogicRoom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants