default to all rules

This commit is contained in:
Joe Danziger
2025-05-23 15:37:11 -04:00
parent ead4aa4a2d
commit 499aa2b203
4 changed files with 19 additions and 37 deletions

View File

@@ -5,6 +5,7 @@ import {
// isSilentMode // Not used directly here
} from '../../../../scripts/modules/utils.js';
import os from 'os'; // Import os module for home directory check
import { BRAND_NAMES } from '../../../../src/utils/rule-transformer.js';
/**
* Direct function wrapper for initializing a project.
@@ -74,8 +75,8 @@ export async function initializeProjectDirect(args, log, context = {}) {
options.rules = args.rules;
log.info(`Including rules: ${args.rules.join(', ')}`);
} else {
options.rules = ['cursor'];
log.info(`No rules specified, defaulting to: cursor`);
options.rules = BRAND_NAMES;
log.info(`No rules specified, defaulting to: ${BRAND_NAMES.join(', ')}`);
}
log.info(`Initializing project with options: ${JSON.stringify(options)}`);