Skip to content

Commit 79392b7

Browse files
committed
[misc] ignore linting warning related to named exports when package is a cjs module
1 parent e173a7e commit 79392b7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/tsfix.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import debug from 'debug'
2+
// fast-glob is a cjs module
3+
// eslint-disable-next-line import-x/no-named-as-default
24
import glob from 'fast-glob'
35
import { performance } from 'node:perf_hooks'
46
import { setupOptions } from './helpers/options.ts'

source/utils/integration.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/* eslint-disable vitest/no-hooks */
22
import debug from 'debug'
33
import { execa } from 'execa'
4+
// fast-glob is a cjs module
5+
// eslint-disable-next-line import-x/no-named-as-default
46
import glob from 'fast-glob'
57
import { promises as fs } from 'node:fs'
68
import { tmpdir } from 'node:os'

0 commit comments

Comments
 (0)