import { BinaryDataStorageRule } from './binary-data-storage.rule';
import { CliActivateAllWorkflowsRule } from './cli-replace-update-workflow-command.rule';
import { DisabledNodesRule } from './disabled-nodes.rule';
import { DotenvUpgradeRule } from './dotenv-upgrade.rule';
import { FileAccessRule } from './file-access.rule';
import { OAuthCallbackAuthRule } from './oauth-callback-auth.rule';
import { ProcessEnvAccessRule } from './process-env-access.rule';
import { PyodideRemovedRule } from './pyodide-removed.rule';
import { QueueWorkerMaxStalledCountRule } from './queue-worker-max-stalled-count.rule';
import { RemovedNodesRule } from './removed-nodes.rule';
import { SettingsFilePermissionsRule } from './settings-file-permissions.rule';
import { TaskRunnerDockerImageRule } from './task-runner-docker-image.rule';
import { TunnelOptionRule } from './tunnel-option.rule';
import { StartNodeRemovedRule } from './start-node-removed.rule';
import { WaitNodeSubworkflowRule } from './wait-node-subworkflow.rule';
import { WorkflowHooksDeprecatedRule } from './workflow-hooks-deprecated.rule';

const v2Rules = [
	// Workflow-level rules
	RemovedNodesRule,
	ProcessEnvAccessRule,
	PyodideRemovedRule,
	FileAccessRule,
	DisabledNodesRule,
	WaitNodeSubworkflowRule,
	StartNodeRemovedRule,
	// Instance-level rules
	DotenvUpgradeRule,
	OAuthCallbackAuthRule,
	CliActivateAllWorkflowsRule,
	WorkflowHooksDeprecatedRule,
	QueueWorkerMaxStalledCountRule,
	TunnelOptionRule,
	SettingsFilePermissionsRule,
	TaskRunnerDockerImageRule,
	BinaryDataStorageRule,
];
export { v2Rules };
