feature/{syntax-checker,spellcheck} -> tools/fly{check,spell}

This commit is contained in:
Henrik Lissner 2019-02-22 00:20:29 -05:00
parent 88f50bbdec
commit 69ed1a4a99
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
46 changed files with 147 additions and 110 deletions

View file

@ -73,7 +73,7 @@
(add-to-list 'magic-mode-alist '(+javascript-jsx-file-p . rjsx-mode))
:config
(set-electric! 'rjsx-mode :chars '(?\} ?\) ?. ?>))
(when (featurep! :feature syntax-checker)
(when (featurep! :tools flycheck)
(add-hook! 'rjsx-mode-hook
;; jshint doesn't know how to deal with jsx
(push 'javascript-jshint flycheck-disabled-checkers)))