Skip to content

Commit

Permalink
Fix 'typescript-tide is not a valid syntax checker' error
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed May 26, 2021
1 parent 9be8374 commit 68bee50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/lang/javascript/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@
(flycheck-add-mode 'javascript-eslint 'typescript-tsx-mode)
(flycheck-add-mode 'typescript-tslint 'typescript-tsx-mode)
(unless (featurep! +lsp)
(flycheck-add-next-checker 'typescript-tide '(warning . javascript-eslint) 'append)
(flycheck-add-mode 'typescript-tide 'typescript-tsx-mode))
(after! tide
(flycheck-add-next-checker 'typescript-tide '(warning . javascript-eslint) 'append)
(flycheck-add-mode 'typescript-tide 'typescript-tsx-mode)))
(add-hook! 'typescript-tsx-mode-hook
(defun +javascript-disable-tide-checkers-h ()
(pushnew! flycheck-disabled-checkers
Expand Down

0 comments on commit 68bee50

Please sign in to comment.