Socket
Book a DemoInstallSign in
Socket

eslint-plugin-legacy-decorators

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-legacy-decorators

Adds legacy decorator syntax

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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.

Keywords

legacy

FAQs

Package last updated on 27 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts