Emacs mode for handling JavaScript that uses Flow type annotations and has some React JSX syntax in it. (MIRROR)
Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README
emacs-flow-jsx-mode.el

README

# emacs-flow-jsx

Emacs mode for handling JavaScript that uses Flow type annotations and
has some React JSX syntax in it.

It is a *major* mode that is a replacement for js2-mode and js-mode.

# Installation and Setup

Load the emacs file:

    (load-file "/path/to/emacs-flow-jsx/emacs-flow-jsx-mode.el")

Add the flow-jsx-mode to the auto-mode-alist:

    (add-to-list 'auto-mode-alist '("\\.js\\'" . flow-jsx-mode))

As you can use, there are functions for checking whether a file uses
the flow type annotations or the flow type checker and whether it uses
the react JSX syntax.

# License and Copyright

Licensed under the GNU GPL version 3 or later, see [LICENSE](./LICENSE)

Copyright (C) 2016 Rudolf Olah