1

有没有英语比较好,或者第六感比较强的人,看看这句话怎么理解

 2 years ago
source link: https://www.v2ex.com/t/802591
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

有没有英语比较好,或者第六感比较强的人,看看这句话怎么理解

  ethan678 · 3 小时 48 分钟前 · 432 次点击

This rule enforces the consistent use of either backticks, double, or single quotes.

这句话来自 eslint 的官方文档。参见 https://eslint.org/docs/rules/quotes

我觉得是对下面配置中“2”的解释,表示要成对出现。 这条规则强制单引号、双引号、` 成对使用。

'quotes': [2, 'single', { 'avoidEscape': true, 'allowTemplateLiterals': true }],


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK