Skip to content

feat(config): add isCLI helper function#60

Merged
johnsoncodehk merged 1 commit into
masterfrom
isCLI
Aug 11, 2025
Merged

feat(config): add isCLI helper function#60
johnsoncodehk merged 1 commit into
masterfrom
isCLI

Conversation

@johnsoncodehk
Copy link
Copy Markdown
Owner

@johnsoncodehk johnsoncodehk commented Aug 11, 2025

Resolves #54

Added the isCLI helper function to differentiate configuration between CLI and IDE.

import { isCLI } from '@tsslint/config';

export default isCLI() ? {
	// CLI config...
} : {
	// IDE config...
}

@johnsoncodehk johnsoncodehk merged commit 29767f1 into master Aug 11, 2025
@johnsoncodehk johnsoncodehk deleted the isCLI branch August 11, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overrides?

1 participant