浏览代码

interface_config: bring back config trailer

j8
Saúl Ibarra Corretgé 4 年前
父节点
当前提交
16f1c167b8
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8
    1
      interface_config.js

+ 8
- 1
interface_config.js 查看文件

@@ -209,7 +209,7 @@ var interfaceConfig = {
209 209
      *
210 210
      * @type {boolean}
211 211
      */
212
-    VIDEO_QUALITY_LABEL_DISABLED: false
212
+    VIDEO_QUALITY_LABEL_DISABLED: false,
213 213
 
214 214
     /**
215 215
      * When enabled, the kick participant button will not be presented for users without a JWT
@@ -265,6 +265,13 @@ var interfaceConfig = {
265 265
      INDICATOR_FONT_SIZES
266 266
      PHONE_NUMBER_REGEX
267 267
     */
268
+
269
+    // Allow all above example options to include a trailing comma and
270
+    // prevent fear when commenting out the last value.
271
+    // eslint-disable-next-line sort-keys
272
+    makeJsonParserHappy: 'even if last key had a trailing comma'
273
+
274
+    // No configuration value should follow this line.
268 275
 };
269 276
 
270 277
 /* eslint-enable no-unused-vars, no-var, max-len */

正在加载...
取消
保存