lang/javascript: minor reformatting/comment revision

This commit is contained in:
Henrik Lissner 2018-04-19 00:50:47 -04:00
parent 8625cb03b0
commit c156551dd1
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -10,8 +10,8 @@
;; let flycheck handle this ;; let flycheck handle this
js2-mode-show-parse-errors nil js2-mode-show-parse-errors nil
js2-mode-show-strict-warnings nil js2-mode-show-strict-warnings nil
;; Flycheck provides these features, so disable them: ;; Flycheck provides these features, so disable them: conflicting with
;; conflicting with the eslint settings. ;; the eslint settings.
js2-strict-trailing-comma-warning nil js2-strict-trailing-comma-warning nil
js2-strict-missing-semi-warning nil) js2-strict-missing-semi-warning nil)
@ -140,7 +140,6 @@
"<" nil "<" nil
"C-d" nil) "C-d" nil)
(add-hook! rjsx-mode (add-hook! rjsx-mode
#'(flycheck-mode set-up-tide-mode add-node-modules-path rainbow-delimiters-mode) #'(flycheck-mode set-up-tide-mode add-node-modules-path rainbow-delimiters-mode)
;; jshint doesn't really know how to deal with jsx ;; jshint doesn't really know how to deal with jsx
(push 'javascript-jshint flycheck-disabled-checkers))) (push 'javascript-jshint flycheck-disabled-checkers)))