Skip to content

Commit 8ba8e8c

Browse files
committed
fix: glob for disables
1 parent 5427307 commit 8ba8e8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/configs/disables.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { GLOB_SRC, GLOB_SRC_EXT } from '../globs'
55
export async function disables(): Promise<TypedFlatConfigItem[]> {
66
return [
77
{
8-
files: [`scripts/${GLOB_SRC}`],
8+
files: [`**/scripts/${GLOB_SRC}`],
99
name: 'antfu/disables/scripts',
1010
rules: {
1111
'no-console': 'off',
1212
'ts/explicit-function-return-type': 'off',
1313
},
1414
},
1515
{
16-
files: [`cli/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
16+
files: [`**/cli/${GLOB_SRC}`, `**/cli.${GLOB_SRC_EXT}`],
1717
name: 'antfu/disables/cli',
1818
rules: {
1919
'no-console': 'off',

0 commit comments

Comments
 (0)