Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/services/fileWalker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ import {
DEFAULT_EXCLUDE_PATTERNS,
} from '../core/patterns.js';

/**
* Options for finding files
*/
interface FindFilesOptions {
/** Include patterns for files to find */
include?: string[];
/** Exclude patterns for files to skip */
exclude?: string[];
/** Specific files to include (overrides include/exclude) */
files?: string[];
}

Expand Down
3 changes: 3 additions & 0 deletions src/services/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import {
} from '../config/constants.js';
import type { GitignoreIssue } from '../config/types.js';

/**
* Options for checking gitignore status
*/
interface GitignoreCheckOptions {
/** Project root directory (default: process.cwd()) */
cwd?: string;
Expand Down
7 changes: 7 additions & 0 deletions src/services/printScanResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ import { printHealthScore } from '../ui/scan/printHealthScore.js';
import { printExpireWarnings } from '../ui/scan/printExpireWarnings.js';
import { printInconsistentNamingWarning } from '../ui/scan/printInconsistentNamingWarning.js';

/**
* Context for auto-fix operations
*/
interface FixContext {
/** Whether any fixes were applied */
fixApplied: boolean;
/** List of removed duplicate keys */
removedDuplicates: string[];
/** List of added environment variables */
addedEnv: string[];
/** Whether the .gitignore file was updated */
gitignoreUpdated: boolean;
}

Expand Down
Loading