Skip to content

Commit 3adebbb

Browse files
committedMar 4, 2024
feat: disable no-default-export for nitro
1 parent 21d84da commit 3adebbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/configs/imports.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export const imports: FlatESLintConfigItem[] = [
3939
{
4040
files: [
4141
`**/*config*.${GLOB_SRC_EXT}`,
42-
`**/views/${GLOB_SRC}`,
43-
`**/pages/${GLOB_SRC}`,
42+
`**/{views,pages,routes,middleware,plugins,api}/**`,
4443
`**/{index,vite,esbuild,rollup,webpack,rspack}.ts`,
4544
'**/*.d.ts',
4645
`${GLOB_MARKDOWN}/**`,

0 commit comments

Comments
 (0)
Please sign in to comment.