Skip to content

Enable vue/require-name-property ESLint rule

Paul Gascou-Vaillancourt requested to merge eslint-vue/require-name-property into main

What does this MR do?

Enables the vue/require-name-property ESLint rule and fixes all violations.

Why do we need this?

This is minor, but within Storybook, we generate code blocks with the import statement for each documented component. This is done thanks to the ImportInfo docs block which requires the component to have a name property. Since many component don't have one, we lack the import statement code block in several pages. This fixes it.

Before After
Screenshot_2023-04-12_at_4.46.01_PM Screenshot_2023-04-12_at_4.45.47_PM

Merge request reports

Loading