lang/javascript: minor reformatting/comment revision
This commit is contained in:
parent
8625cb03b0
commit
c156551dd1
1 changed files with 2 additions and 3 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue