瀏覽代碼

[eslint] no-multiple-empty-lines

release-8443
Lyubo Marinov 8 年之前
父節點
當前提交
de6bb977be
共有 2 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    0
      .eslintrc.js
  2. 0
    1
      modules/xmpp/strophe.jingle.js

+ 1
- 0
.eslintrc.js 查看文件

152
         'no-array-constructor': 2,
152
         'no-array-constructor': 2,
153
         'no-inline-comments': 0,
153
         'no-inline-comments': 0,
154
         'no-mixed-spaces-and-tabs': 2,
154
         'no-mixed-spaces-and-tabs': 2,
155
+        'no-multiple-empty-lines': 2,
155
         'no-negated-condition': 2,
156
         'no-negated-condition': 2,
156
         'no-nested-ternary': 0,
157
         'no-nested-ternary': 0,
157
         'no-new-object': 2,
158
         'no-new-object': 2,

+ 0
- 1
modules/xmpp/strophe.jingle.js 查看文件

258
 }
258
 }
259
 
259
 
260
 
260
 
261
-
262
 module.exports = function(XMPP, eventEmitter) {
261
 module.exports = function(XMPP, eventEmitter) {
263
     Strophe.addConnectionPlugin('jingle',
262
     Strophe.addConnectionPlugin('jingle',
264
         new JingleConnectionPlugin(XMPP, eventEmitter));
263
         new JingleConnectionPlugin(XMPP, eventEmitter));

Loading…
取消
儲存