| 1 | /** |
| 2 | * Shared file patterns and ignore rules for file discovery and watching |
| 3 | */ |
| 4 | |
| 5 | export const FILE_IGNORE_PATTERNS = [ |
| 6 | "**/node_modules/**", |
| 7 | "**/dist/**", |
| 8 | "**/build/**", |
| 9 | "**/out/**", |
| 10 | "**/target/**", |
| 11 | "**/.git/**", |
| 12 | "**/.vscode/**", |
| 13 | "**/.idea/**", |
| 14 | "**/coverage/**", |
| 15 | "**/*.min.js", |
| 16 | "**/*.min.css", |
| 17 | "**/*.bundle.js", |
| 18 | "**/*.bundle.css", |
| 19 | "**/.DS_Store", |
| 20 | "**/Thumbs.db", |
| 21 | "**/*.log", |
| 22 | "**/*.tmp", |
| 23 | "**/*.temp", |
| 24 | "**/*.swp", |
| 25 | "**/*.swo", |
| 26 | "**/*.bak", |
| 27 | "**/*.orig", |
| 28 | "**/*.rej", |
| 29 | "**/*.pyc", |
| 30 | "**/*.pyo", |
| 31 | "**/*.class", |
| 32 | "**/*.o", |
| 33 | "**/*.obj", |
| 34 | "**/*.exe", |
| 35 | "**/*.dll", |
| 36 | "**/*.so", |
| 37 | "**/*.dylib", |
| 38 | "**/*.a", |
| 39 | "**/*.lib", |
| 40 | "**/*.jar", |
| 41 | "**/*.war", |
| 42 | "**/*.ear", |
| 43 | "**/*.zip", |
| 44 | "**/*.tar.gz", |
| 45 | "**/*.tgz", |
| 46 | "**/*.rar", |
| 47 | "**/*.7z", |
| 48 | "**/.next/**", |
| 49 | ]; |
| 50 | |
| 51 | export const FILE_PATTERNS = [ |
| 52 | "**/*.{ts,tsx,js,jsx,py,java,cpp,c,h,hpp,cs,go,rs,rb,php,swift,kt,scala,md,json,yaml,yml,xml,html,css,scss,sass,less,sql,sh,dockerfile,makefile,cmake,gradle,toml,ini,env,txt,log}", |
| 53 | "**/README*", |
| 54 | "**/LICENSE*", |
| 55 | "**/CHANGELOG*", |
| 56 | "**/package.json", |
| 57 | "**/Cargo.toml", |
| 58 | "**/pyproject.toml", |
| 59 | "**/composer.json", |
| 60 | "**/Gemfile", |
| 61 | "**/.gitignore", |
| 62 | "**/.env*", |
| 63 | ]; |