1.0.0 • Published 5 years ago

eslint-plugin-legacy-decorators v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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.