Loading
Fix vue/v-on-event-hyphenation offenses in clusters_list/components/
What does this MR do and why?
Address vue/v-on-event-hyphenation offenses in app/assets/javascripts/clusters_list/components/
Renames camelCase custom events to kebab-case in Vue templates and their corresponding specs, as required by the vue/v-on-event-hyphenation ESLint rule.
Modified Files
In agents.vue:
$emit('onAgentsLoad')->$emit('on-agents-load')$emit('kasDisabled')->$emit('kas-disabled')$emit('registerAgent')->$emit('register-agent')@registerAgent->@register-agent
In clusters_main_view.vue:
@changeTab->@change-tab@kasDisabled->@kas-disabled@registerAgent->@register-agent@clusterAgentCreated->@cluster-agent-created
In clusters_view_all.vue:
$emit('kasDisabled')->$emit('kas-disabled')$emit('registerAgent')->$emit('register-agent')$emit('changeTab')->$emit('change-tab')@onAgentsLoad->@on-agents-load@kasDisabled->@kas-disabled@registerAgent->@register-agent
Tests Updated
agents_spec.jsclusters_main_view_spec.jsclusters_view_all_spec.js
References
Related to: #583560 (closed)
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.