I\'m trying to use decorators in my JS project, however ESLint is throwing an error stating that the @ symbol is a unexpected character.
My code:
@o
A quick answer:
Install a lib
npm i -D babel-eslint
Add to your .eslintrc
"parser": "babel-eslint"