Просмотр исходного кода

trying different approach to convince codacy about false positive

El RIDO 6 лет назад
Родитель
Сommit
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 () {