Skip to content

Commit

Permalink
fix: glob for disables
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 15, 2024
1 parent 5427307 commit 8ba8e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/disables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { GLOB_SRC, GLOB_SRC_EXT } from '../globs'
export async function disables(): Promise<TypedFlatConfigItem[]> {
return [
{
files: [`scripts/${GLOB_SRC}`],
files: [`**/scripts/${GLOB_SRC}`],
name: 'antfu/disables/scripts',
rules: {
'no-console': 'off',
'ts/explicit-function-return-type': 'off',
},
},
{
files: [`cli/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
files: [`**/cli/${GLOB_SRC}`, `**/cli.${GLOB_SRC_EXT}`],
name: 'antfu/disables/cli',
rules: {
'no-console': 'off',
Expand Down

0 comments on commit 8ba8e8c

Please sign in to comment.