ignores.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import type { Linter } from 'eslint';
  2. export async function ignores(): Promise<Linter.FlatConfig[]> {
  3. return [
  4. {
  5. ignores: [
  6. '**/node_modules',
  7. '**/dist',
  8. '**/dist-*',
  9. '**/*-dist',
  10. '**/.husky',
  11. '**/Dockerfile',
  12. '**/package-lock.json',
  13. '**/yarn.lock',
  14. '**/pnpm-lock.yaml',
  15. '**/bun.lockb',
  16. '**/output',
  17. '**/coverage',
  18. '**/temp',
  19. '**/.temp',
  20. '**/tmp',
  21. '**/.tmp',
  22. '**/.history',
  23. '**/.turbo',
  24. '**/.nuxt',
  25. '**/.next',
  26. '**/.vercel',
  27. '**/.changeset',
  28. '**/.idea',
  29. '**/.cache',
  30. '**/.output',
  31. '**/.vite-inspect',
  32. '**/CHANGELOG*.md',
  33. '**/*.min.*',
  34. '**/LICENSE*',
  35. '**/__snapshots__',
  36. '**/*.snap',
  37. '**/fixtures/**',
  38. '**/.vitepress/cache/**',
  39. '**/auto-import?(s).d.ts',
  40. '**/components.d.ts',
  41. '**/vite.config.mts.*',
  42. '**/*.sh',
  43. '**/*.ttf',
  44. '**/*.woff',
  45. ],
  46. },
  47. ];
  48. }