Miss any of our Open RFC calls?Watch the recordings here! »

tern-jsx

1.0.3 • Public • Published

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": {}
  }
}

Keywords

none

Install

npm i tern-jsx

DownloadsWeekly Downloads

5

Version

1.0.3

License

MIT

Last publish

Collaborators

  • avatar