V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iugo
V2EX  ›  问与答

no-multi-str 这条 ESLint 规则过时吗?

  •  
  •   iugo · Feb 4, 2017 · 1537 views
    This topic created in 3379 days ago, the information mentioned may be changed or developed.
    http://eslint.org/docs/rules/no-multi-str

    虽说可以通过 ES6 模板字符串来跳过这条规则. 但如果多行字符串不包含变量, 我还是想用普通单引号.
    1 replies    2017-02-04 15:16:06 +08:00
    yangg
        1
    yangg  
       Feb 4, 2017   ❤️ 1
    没有,过时的是\这种换行的转义写法,所以才有这个规则。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5830 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 73ms · UTC 01:51 · PVG 09:51 · LAX 18:51 · JFK 21:51
    ♥ Do have faith in what you're doing.