2024-05-19 21:20:42 +08:00
|
|
|
import type { Linter } from 'eslint';
|
|
|
|
|
2024-08-02 22:18:46 +08:00
|
|
|
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',
|
2024-07-20 08:31:05 +08:00
|
|
|
'**/.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',
|
2024-06-16 19:17:34 +08:00
|
|
|
'**/.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',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|