Browse Source

使用 Eslint 检查符合 standard 规范的代码

modood 8 năm trước cách đây
mục cha
commit
680ffc2a58
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      .eslintrc.js

+ 2 - 2
.eslintrc.js

@@ -3,12 +3,12 @@ module.exports = {
   extends: 'standard',
   extends: 'standard',
   globals: {
   globals: {
     'describe': true,
     'describe': true,
-    'context': true,
+    'it': true,
     'before': true,
     'before': true,
     'beforeEach': true,
     'beforeEach': true,
     'after': true,
     'after': true,
     'afterEach': true,
     'afterEach': true,
-    'it': true,
+    'context': true,
     'expect': true
     'expect': true
   }
   }
 }
 }