Skip to content

Flycheck configuration with tide #416

Answered by ananthakumaran
Aaronzinhoo asked this question in Q&A
Discussion options

You must be logged in to vote

yes, the checker name is typescript-tide it follows {mode}-tide pattern. For typescript/tsx, it's usually better to run the tide checker first (as it reports type errors) followed by eslint/tslint. For javascript, tide checker usually is not much helpful (unless checkJs is set to true), so typically you can just run eslint only.

tide by default only enables the checker for typescript/tsx. For js, we append to the end, so if you have eslint, it will be given preference.

(flycheck-add-next-checker 'typescript-tide '(warning . typescript-tslint) 'append)

https://www.flycheck.org/en/latest/user/syntax-checkers.html#configuring-checker-chains has more details

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Aaronzinhoo
Comment options

Answer selected by Aaronzinhoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #415 on February 12, 2021 03:53.