iugo
V2EX  ›  问与答

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

  •  
  •   iugo · Feb 4, 2017 · 1643 views
    This topic created in 3429 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   ·   2469 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 00:35 · PVG 08:35 · LAX 17:35 · JFK 20:35
    ♥ Do have faith in what you're doing.