Skip to content

Commit

Permalink
fix: don't include all files
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 4, 2024
1 parent 6685c0f commit 1d3956b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/imports.ts
@@ -1,5 +1,5 @@
import { pluginAntfu, pluginImport } from '../plugins'
import { GLOB_MARKDOWN, GLOB_SRC_EXT } from '../globs'
import { GLOB_MARKDOWN, GLOB_SRC, GLOB_SRC_EXT } from '../globs'
import type { FlatESLintConfigItem } from 'eslint-define-config'

export const imports: FlatESLintConfigItem[] = [
Expand Down Expand Up @@ -39,7 +39,7 @@ export const imports: FlatESLintConfigItem[] = [
{
files: [
`**/*config*.${GLOB_SRC_EXT}`,
`**/{views,pages,routes,middleware,plugins,api}/**`,
`**/{views,pages,routes,middleware,plugins,api}/${GLOB_SRC}`,
`**/{index,vite,esbuild,rollup,webpack,rspack}.ts`,
'**/*.d.ts',
`${GLOB_MARKDOWN}/**`,
Expand Down

0 comments on commit 1d3956b

Please sign in to comment.