eslint-plugin-legacy-decorators
Tiny plugin to add { legacyDecorators: true }
to eslint parser options. This is particularly useful with standard.
Install
Use npm to install.
npm install eslint-plugin-legacy-decorators --save
Usage
After installing, add the plugin to your standard
configuration (or other linter).
// ... in package.json ... "semistandard": "parser": "babel-eslint" "plugins": "legacy-decorators"
License
MIT, see LICENSE.md for details.