1.0.3 • Published 7 years ago

tern-jsx v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

tern-jsx Build Status

Add JSX support to Tern.

Makes the Tern parser aware of JSX via acorn-jsx. This increases the likelihood of finding definitions / documentation and renaming variables, and improves other plugins' compatibility with JSX.

Installation

Install the npm package globally:

npm i -g tern-jsx

Enable the plugin in .tern-project:

{
  "plugins": {
    "jsx": {}
  }
}