mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-16 11:16:38 +00:00
Update ESLint globals syntax
This commit is contained in:
parent
de5549ff69
commit
95c73738fa
@ -1,4 +1,4 @@
|
|||||||
/* globals tryTests: true */
|
/* globals tryTests */
|
||||||
const { use: chaiUse, expect } = require('chai');
|
const { use: chaiUse, expect } = require('chai');
|
||||||
chaiUse(require('chai-as-promised'));
|
chaiUse(require('chai-as-promised'));
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable max-lines */
|
/* eslint-disable max-lines */
|
||||||
/* globals tryTests: true */
|
/* globals tryTests */
|
||||||
const { use: chaiUse, expect } = require('chai');
|
const { use: chaiUse, expect } = require('chai');
|
||||||
chaiUse(require('chai-as-promised'));
|
chaiUse(require('chai-as-promised'));
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable max-lines */
|
/* eslint-disable max-lines */
|
||||||
/* globals tryTests: true, loadStreamsPolyfill */
|
/* globals tryTests, loadStreamsPolyfill */
|
||||||
const spy = require('sinon/lib/sinon/spy');
|
const spy = require('sinon/lib/sinon/spy');
|
||||||
const stream = require('@openpgp/web-stream-tools');
|
const stream = require('@openpgp/web-stream-tools');
|
||||||
const { use: chaiUse, expect } = require('chai');
|
const { use: chaiUse, expect } = require('chai');
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable max-lines */
|
/* eslint-disable max-lines */
|
||||||
/* globals tryTests: true, loadStreamsPolyfill */
|
/* globals tryTests, loadStreamsPolyfill */
|
||||||
const stream = require('@openpgp/web-stream-tools');
|
const stream = require('@openpgp/web-stream-tools');
|
||||||
const { use: chaiUse, expect } = require('chai');
|
const { use: chaiUse, expect } = require('chai');
|
||||||
chaiUse(require('chai-as-promised'));
|
chaiUse(require('chai-as-promised'));
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* globals tryTests: true */
|
/* globals tryTests */
|
||||||
|
|
||||||
const { expect } = require('chai');
|
const { expect } = require('chai');
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* globals openpgp: true */
|
/* globals openpgp */
|
||||||
|
|
||||||
importScripts('../../dist/openpgp.js');
|
importScripts('../../dist/openpgp.js');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user