2

I'm trying to set up Emacs with Typescript and Angular, using tide and ng2-mode. I'm having issues with enabling tslint in flycheck. My source directory is as follows:

app-dir - here is the tslint.json file

app-dir/src/main.ts - here, tslint is working normally

app-dir/src/app/app.component.ts - here tslint is not working at all, flycheck doesn't see any checker :/

Can you help me, how can I debug this?

1 Answer 1

3

Try putting this on your init file:

(with-eval-after-load 'tide
  (flycheck-add-mode 'typescript-tslint 'ng2-ts-mode)
  (flycheck-add-mode 'typescript-tide 'ng2-ts-mode)
)
Sign up to request clarification or add additional context in comments.

1 Comment

This is the correct answer. PLEASE Stackoverflow STOP DOWNVOTING ANSWERS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.