typescript - Tslint no funciona en Emacs usando Angular
Estoy intentando configurar Emacs con Typescript y Angular, usando tide y ng2-mode. Estoy teniendo problemas para habilitar tslint en flycheck. Mi directorio de código fuente es el siguiente:
app-dir - aquí está el archivo tslint.json
app-dir/src/main.ts - aquí, tslint está funcionando normalmente
app-dir/src/app/app.component.ts - aquí tslint no funciona en absoluto, flycheck no detecta ningún verificador :/
¿Puedes ayudarme, cómo puedo depurar esto?
Respuesta #1
Intenta poner esto en tu archivo de inicio:
(with-eval-after-load 'tide
(flycheck-add-mode 'typescript-tslint 'ng2-ts-mode)
(flycheck-add-mode 'typescript-tide 'ng2-ts-mode)
)
