Configure tslint with VS 2015 Update 2

前端 未结 1 1400
别那么骄傲
别那么骄傲 2021-01-21 10:20

I can\'t get tslint to work properly in Visual Studio 2015. I should precise that:

  • I have Update 2 installed.
  • I have Web Essentials, but it claims that it
相关标签:
1条回答
  • 2021-01-21 11:18

    I had this exact problem. Took hours to find this but you can make tslint.json work in project root if you change line endings from UNIX to Windows/Dos (from \n to \r\n).

    Update: First I thought it was line endings that was causing this problem. But it's actually tslint.json files encoding. If encoding is shown as UTF-8-BOM in Notepad++ the file refuses to work. If you change tile encoding to UTF-8 it starts to work.

    0 讨论(0)
提交回复
热议问题