Andrea Moretti
f88a7889a4
react: use node_modules version of eslint or global if not available
2016-04-29 23:30:05 -04:00
Andrea Moretti
c80c9583db
add import React magic-mode-alist
...
as suggested by @tko on #4735
2016-04-21 21:07:38 -04:00
Andrea Moretti
5c07ce0118
enforce smartparens
2016-04-21 21:07:38 -04:00
Andrea Moretti
a3e802b2ff
remove js2 and fix eslint loading
2016-04-21 21:07:38 -04:00
syl20bnr
b1a6d8977a
react: prefer named function over lambda for hooks
2016-03-09 20:10:58 -05:00
huaoguo
70d4c2c784
Fix bug: helm-imenu doesn't work in react-mode
...
In react-mode, when invoke helm-imenu, the list is empty. Because this
feature is only enabled in js2-mode, not js2-minor-mode.
So we should enable it by ourself.
link: https://github.com/mooz/js2-mode/blob/master/js2-mode.el#L11557
2016-03-09 20:09:07 -05:00
Tommi Komulainen
faed1b7dc0
react: make evil-matchit jump between html/jsx tags as well
...
Fixes : #5265
2016-03-01 18:59:18 +01:00
EMayej Bee
de7eb40337
Fix react magic mode
2016-02-09 21:37:22 +01:00
Eivind Fonn
e9f8377b92
Tweak flycheck loading process
2016-01-31 23:04:48 -05:00
Eivind Fonn
248abe254f
Don't auto-quote attributes in react
2016-01-22 15:47:21 +01:00
syl20bnr
046d86800c
Clean copyrights and update for year 2016
2016-01-11 21:42:17 -05:00
Erwan Loisant
5361447599
Auto-activate for react native index files
2016-01-04 00:23:56 -05:00
Eivind Fonn
ac0ba50154
Make flycheck/flyspell hooks more explicit
2015-12-11 02:08:55 -05:00
R. Haluk Öngör
d498c091bf
Enable js-mode snippets in react mode
2015-12-04 00:08:26 -05:00
justbur
9befd20a1a
layers: Transition to new key bindings functions
...
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Sebastian Wiesner
954ed2d3de
react: Fix Flycheck setup
...
Do not disable jshint globally, but only for React Mode. It’s perfectly
fine to use jshint for a Javascript project and eslint for a React
project. A layer should not enforce its language specific preferences
upon everything else, and above all, you should NEVER disable syntax
globally without a very good reason.
Also remove the redundant expression disabling json-jsonlist, which
simply does not exist.
2015-11-13 13:52:20 +01:00
Eivind Fonn
56ecd43753
Add variables to opt-in to flycheck/flyspell
2015-10-10 23:18:46 -04:00
Diego Berrocal
c9612ffef0
Expand to className when using emmet
...
div.react-class >>> <div className="react-class"></div>
2015-10-09 12:06:40 +02:00
David Mohl
15de481a80
forcing jsx content type, fixes #3163
2015-09-28 23:21:03 -04:00
justbur
6eab954afe
Use + instead of ! for layer categories
...
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737 , because as far as I can tell "+" has no special
meaning in a helm pattern.
Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00