Skip to content

Commit

Permalink
docs: add missing backticks (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Nov 29, 2021
1 parent f38dd26 commit b08fe0b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/rules/component-definition-name-casing.md
Expand Up @@ -31,7 +31,7 @@ Default casing is set to `PascalCase`.
- `"PascalCase"` (default) ... enforce component definition names to pascal case.
- `"kebab-case"` ... enforce component definition names to kebab case.

### `"PascalCase" (default)
### `"PascalCase"` (default)

<eslint-code-block fix :rules="{'vue/component-definition-name-casing': ['error']}">

Expand Down Expand Up @@ -64,18 +64,18 @@ export default {
```js
/* ✓ GOOD */
Vue.component('MyComponent', {

})

/* ✗ BAD */
Vue.component('my-component', {

})
```

</eslint-code-block>

### `"kebab-case"
### `"kebab-case"`

<eslint-code-block fix :rules="{'vue/component-definition-name-casing': ['error', 'kebab-case']}">

Expand Down Expand Up @@ -108,12 +108,12 @@ export default {
```js
/* ✓ GOOD */
Vue.component('my-component', {

})

/* ✗ BAD */
Vue.component('MyComponent', {

})
```

Expand Down

0 comments on commit b08fe0b

Please sign in to comment.