Skip to content

Commit

Permalink
chore(browserify,core,lavapack,tofu): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jan 30, 2024
1 parent 665ba6b commit a6e5b6e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/browserify/test/globalRef.spec.js
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const test = require('ava')
const { runScenario } = require('./util')
const {
Expand Down
1 change: 1 addition & 0 deletions packages/browserify/test/globalWrites.spec.js
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const test = require('ava')
const {
createScenarioFromScaffold,
Expand Down
1 change: 1 addition & 0 deletions packages/core/test/globals.spec.js
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const test = require('ava')
const { createScenarioFromScaffold, runScenario } = require('./util')

Expand Down
2 changes: 2 additions & 0 deletions packages/lavapack/test/sourcemaps.spec.js
Expand Up @@ -13,6 +13,7 @@ test.skip('sourcemaps - adjust maps for wrapper', async (t) => {
var three = two + 1
`

// eslint-disable-next-line no-undef
const result = UglifyJS.minify(
{ './foo.js': fooSource },
{
Expand Down Expand Up @@ -52,6 +53,7 @@ function indicesOf(substring, string) {
// this is not perfecct - just a heuristic
async function validateSourcemaps(t, sourceMeta) {
const targetSlug = 'new Error'
// eslint-disable-next-line no-undef
const consumer = await new SourceMapConsumer(sourceMeta.maps)
t.true(consumer.hasContentsOfAllSources(), 'has the contents of all sources')

Expand Down
1 change: 1 addition & 0 deletions packages/tofu/test/inspectGlobals.spec.js
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const test = require('ava')
const deepEqual = require('deep-equal')
const { inspectGlobals } = require('../src/index')
Expand Down

0 comments on commit a6e5b6e

Please sign in to comment.