An open API service indexing awesome lists of open source software.

https://github.com/bounceme/rjsx-compile

vim compiler plugin ( linter ) for js/jsx using emacs and rjsx-mode
https://github.com/bounceme/rjsx-compile

emacs jsx linter rjsx-mode vim

Last synced: about 2 months ago
JSON representation

vim compiler plugin ( linter ) for js/jsx using emacs and rjsx-mode

Awesome Lists containing this project

README

          

# rjsx-compile

A es6+ / jsx compatible "linter"

Reports error messages from https://github.com/mozilla/rhino/blob/0ce17ecd3cb466d25f8d68b8f061ad23c77e8712/src/org/mozilla/javascript/resources/Messages.properties
as well as ones specific to jsx.

### Requirements:

emacs >= 24 with [rjsx-mode](https://github.com/felipeochoa/rjsx-mode) installed from melpa
- easiest way to install:

emacs --quick --batch --eval="(progn(require 'package) (package-initialize) (add-to-list 'package-archives '(\\"melpa\\" . \\"http://melpa.milkbox.net/packages/\") t) (setq url-http-attempt-keepalives nil) (package-refresh-contents) (package-install 'rjsx-mode))"

### Usage:

edit a js/jsx file and run `:compiler rjsxcompile` then `:make`. Use `:copen` to view and navigate the errors

also read `:h compiler`