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 }],