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
- Host: GitHub
- URL: https://github.com/bounceme/rjsx-compile
- Owner: bounceme
- Created: 2017-01-20T03:24:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T04:02:17.000Z (about 9 years ago)
- Last Synced: 2025-04-05T22:26:21.331Z (about 1 year ago)
- Topics: emacs, jsx, linter, rjsx-mode, vim
- Language: Emacs Lisp
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`