Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upStandard + Legacy Decorators #1340
Comments
This comment has been minimized.
This comment has been minimized.
|
For now I've published this plugin: https://github.com/mattdesl/eslint-plugin-legacy-decorators Usage after installing it + babel-eslint: // ... in package.json ...
"semistandard": {
"parser": "babel-eslint",
"plugins": ["legacy-decorators"]
}EDIT: Nevermind, I thought this would work but it doesn't. |
This comment has been minimized.
This comment has been minimized.
|
Perhaps you can use |
feross
added
the
need more info
label
Jul 28, 2019
This comment has been minimized.
This comment has been minimized.
no-response
bot
commented
Aug 4, 2019
no-response
bot
closed this
Aug 4, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

mattdesl commentedJul 27, 2019
•
edited
What version of standard?
12.0.1
What operating system, Node.js, and npm version?
node 8.10.0, npm 6.1.0
What did you expect to happen?
I would expect there to be a way to use legacy decorators with standard and
babel-eslintparser. I already have this in my package.json:What actually happened?
I cannot find a way to configure the
babel-eslintparser to accept legacy decorator syntax. Is such a thing possible with standard?