chemzqm
V2EX  ›  Vim

新版 tslint 插件 coc-tslint-plugin

  •  2
     
  •   chemzqm · Mar 6, 2019 · 3862 views
    This topic created in 2653 days ago, the information mentioned may be changed or developed.

    旧的 tslint 插件无法获取类型信息,导致警告无法给出。

    新的 tslint 插件做为 tsserver 插件使用,可以给出更多的提示,同时支持保存时修复。

    https://github.com/neoclide/coc-tslint-plugin

    推荐使用 coc-tslint 的用户更换为该插件。

    4 replies    2019-03-08 21:55:48 +08:00
    Sparetire
        1
    Sparetire  
       Mar 6, 2019 via Android
    支持一下
    yuuko
        2
    yuuko  
       Mar 6, 2019 via Android
    哇⊙∀⊙!
    afei123
        3
    afei123  
       Mar 8, 2019
    这个跟 ale 插件的错误检查是不是一个东西?只需要装一个就行吗?
    chemzqm
        4
    chemzqm  
    OP
       Mar 8, 2019
    > 这个跟 ale 插件的错误检查是不是一个东西?

    没有一点关系。

    > 只需要装一个就行吗?

    ale 暂时还不支持 typescript-tslint-plugin,你想一起用也可以。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5640 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 03:37 · PVG 11:37 · LAX 20:37 · JFK 23:37
    ♥ Do have faith in what you're doing.