// URL parts should be kebab-case, but we didn't have this rule in the past.
// The ESLint rule `prefer-kebab-url` will ignore these "legacy" URL parts.

const ignoreWords = {
  snake: new Set([
    'clear_saml_data',
    'confirm_link',
    'confirm_university_domain',
    'create_recurly_account',
    'current_history_content',
    'current_user',
    'default_email',
    'disable_managed_users',
    'doc_snapshot',
    'enable_history_ranges_support',
    'features_override',
    'generate_password_reset_url',
    'get_assignment',
    'get_clone',
    'health_check',
    'institutional_emails',
    'latest_template',
    'link_after_saml_response',
    'linked_file',
    'metrics_segmentation',
    'new_users',
    'no_autostart_post_gateway',
    'personal_info',
    'planned_maintenance',
    'refresh_features',
    'register_admin',
    'register_ldap_admin',
    'register_saml_admin',
    'restore_file',
    'revert_file',
    'saved_vers',
    'send_test_email',
    'session_maintenance',
    'set_in_session',
    'sign_in_to_link',
    'split_test',
    'sso_configuration_test',
    'sso_email',
    'sso_enrollment',
    'track_changes',
    'update_admin',
    'user_details',
  ]),
  camel: new Set([
    'addWorkflowScope',
    'aiErrorAssistant',
    'aiFeatureUsage',
    'beginAuth',
    'brandVariationId',
    'closeEditor',
    'completeRegistration',
    'deactivateOldProjects',
    'deletedSubscription',
    'disconnectAllUsers',
    'editingSession',
    'emailSubscription',
    'enableManagedUsers',
    'externalCollaboration',
    'flushProjectToTpds',
    'indexAll',
    'offboardManagedUser',
    'openEditor',
    'perfTest',
    'pollDropboxForUser',
    'resendInvite',
    'resendManagedUserInvite',
    'salesContactForm',
    'showSupport',
  ]),
  other: new Set([
    'Project',
    'disableSSO',
    'enableSSO',
    'resendSSOLinkInvite',
    'usersCSV',
  ]),
}

module.exports = { ignoreWords }
