Update ESLint globals syntax

This commit is contained in:
Daniel Huigens 2022-09-02 22:24:11 +02:00 committed by larabr
parent de5549ff69
commit 95c73738fa
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* globals tryTests: true */
/* globals tryTests */
const { use: chaiUse, expect } = require('chai');
chaiUse(require('chai-as-promised'));

View File

@ -1,5 +1,5 @@
/* eslint-disable max-lines */
/* globals tryTests: true */
/* globals tryTests */
const { use: chaiUse, expect } = require('chai');
chaiUse(require('chai-as-promised'));

View File

@ -1,5 +1,5 @@
/* eslint-disable max-lines */
/* globals tryTests: true, loadStreamsPolyfill */
/* globals tryTests, loadStreamsPolyfill */
const spy = require('sinon/lib/sinon/spy');
const stream = require('@openpgp/web-stream-tools');
const { use: chaiUse, expect } = require('chai');

View File

@ -1,5 +1,5 @@
/* eslint-disable max-lines */
/* globals tryTests: true, loadStreamsPolyfill */
/* globals tryTests, loadStreamsPolyfill */
const stream = require('@openpgp/web-stream-tools');
const { use: chaiUse, expect } = require('chai');
chaiUse(require('chai-as-promised'));

View File

@ -1,4 +1,4 @@
/* globals tryTests: true */
/* globals tryTests */
const { expect } = require('chai');

View File

@ -1,4 +1,4 @@
/* globals openpgp: true */
/* globals openpgp */
importScripts('../../dist/openpgp.js');