瀏覽代碼

trying different approach to convince codacy about false positive

El RIDO 7 年之前
父節點
當前提交
c2962af4f8
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 5 4
      .eslintrc
  2. 1 0
      js/test/InitialCheck.js

+ 5 - 4
.eslintrc

@@ -12,15 +12,16 @@ env:
   es6: true
   jquery: true
   node: true
+  mocha: true
 
 globals:
   DOMPurify: readonly
-  after: writable
-  assert: writable
-  before: writable
+#  after: writable
+#  assert: writable
+#  before: writable
   cleanup: writable
   describe: readonly
-  it: readonly
+#  it: readonly
   jsc: readonly
   jsdom: writable
   kjua: writable

+ 1 - 0
js/test/InitialCheck.js

@@ -1,5 +1,6 @@
 'use strict';
 var common = require('../common');
+/* global WebCrypto */
 
 describe('InitialCheck', function () {
     describe('init', function () {