Skip to content

Commit

Permalink
Fix interactive docs for vue/match-component-import-name (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Apr 22, 2022
1 parent ba29114 commit bd13174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/match-component-import-name.md
Expand Up @@ -13,7 +13,7 @@ since: v8.7.0

By default, this rule will validate that the imported name matches the name of the components object property identifer. Note that "matches" means that the imported name matches either the PascalCase or kebab-case version of the components object property identifer. If you would like to enforce that it must match only one of PascalCase or kebab-case, use this rule in conjunction with the rule [vue/component-definition-name-casing](./component-definition-name-casing.md).

<eslint-code-block :rules="{'vue/match-component-file-name': ['error']}">
<eslint-code-block :rules="{'vue/match-component-import-name': ['error']}">

```vue
<script>
Expand Down

0 comments on commit bd13174

Please sign in to comment.