在 Visual Studio 2015 中设置 TSLint [英] Setup TSLint in Visual Studio 2015

查看:30
本文介绍了在 Visual Studio 2015 中设置 TSLint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2013 中使用 Typescript 进行开发,并且总是在底部打开我的错误列表.当我编写代码时,TSLint 会告诉我代码混乱/不正确.除了安装 Web Essentials 插件之外,我认为我不需要做任何事情.

I develop with Typescript in Visual Studio 2013 and always have my error list open on the bottom. TSLint tells me when my code is messy/incorrect as i'm writing it. I don't think I had to do anything other than install the Web Essentials plugin.

我最近安装了 Visual Studio 2015,但我一生都无法让 TSLint 像在 Visual Studio 2013 中那样工作.我是否遗漏了一些明显的东西?

I recently installed Visual Studio 2015 and can't, for the life of me, get TSLint to work as it did in Visual Studio 2013. Am I missing something obvious?

推荐答案

现在看起来最简单的方法是从 Visual Studio Gallery 下载 Mads Kristensen 的 Web Analyzer,它包括 TSLint 支持

Looks like the easiest way now is to download Web Analyzer by Mads Kristensen from the Visual Studio Gallery, it includes TSLint support

https://visualstudiogallery.msdn.microsoft.com/6edc26d4-47d8-4987-82ee-7c820d79be1d

(免费)

这篇关于在 Visual Studio 2015 中设置 TSLint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆