ruoyi-plus-vben5/internal/lint-configs/eslint-config/src/configs/ignores.ts

53 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-05-19 21:20:42 +08:00
import type { Linter } from 'eslint';
export async function ignores(): Promise<Linter.Config[]> {
2024-05-19 21:20:42 +08:00
return [
{
ignores: [
'**/node_modules',
'**/dist',
2024-06-16 23:50:17 +08:00
'**/dist-*',
'**/*-dist',
2024-05-19 21:20:42 +08:00
'**/.husky',
'**/.nitro',
'**/.output',
2024-05-19 21:20:42 +08:00
'**/Dockerfile',
'**/package-lock.json',
'**/yarn.lock',
'**/pnpm-lock.yaml',
'**/bun.lockb',
'**/output',
'**/coverage',
'**/temp',
'**/.temp',
'**/tmp',
'**/.tmp',
'**/.history',
'**/.turbo',
2024-05-19 21:20:42 +08:00
'**/.nuxt',
'**/.next',
'**/.vercel',
'**/.changeset',
'**/.idea',
'**/.cache',
'**/.output',
'**/.vite-inspect',
'**/CHANGELOG*.md',
'**/*.min.*',
'**/LICENSE*',
'**/__snapshots__',
2024-06-01 22:17:52 +08:00
'**/*.snap',
'**/fixtures/**',
'**/.vitepress/cache/**',
2024-05-19 21:20:42 +08:00
'**/auto-import?(s).d.ts',
'**/components.d.ts',
'**/vite.config.mts.*',
'**/*.sh',
'**/*.ttf',
'**/*.woff',
],
},
];
}