Skip to content

Commit 859d00a

Browse files
committed
chore: rename
1 parent a026c1c commit 859d00a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/configs/react.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { isPackageExists } from 'local-pkg'
22
import { ensurePackages, interopDefault, toArray } from '../shared'
3-
import { GLOB_JS, GLOB_JSX, GLOB_TS, GLOB_TSX } from '../constants/glob'
3+
import { GLOB_SRC } from '../constants/glob'
44
import { isUsingNext, isUsingRemix } from '../env'
55
import type {
66
OptionsFiles,
@@ -15,7 +15,7 @@ const ReactRefreshAllowConstantExportPackages = ['vite']
1515
export async function react(
1616
options: OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles = {},
1717
): Promise<TypedFlatConfigItem[]> {
18-
const { files = [GLOB_JS, GLOB_JSX, GLOB_TS, GLOB_TSX], overrides = {} } = options
18+
const { files = [GLOB_SRC], overrides = {} } = options
1919

2020
await ensurePackages([
2121
'@eslint-react/eslint-plugin',

0 commit comments

Comments
 (0)