Skip to content

Commit

Permalink
7.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Oct 20, 2021
1 parent b28867d commit 51079bf
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
11 changes: 9 additions & 2 deletions docs/rules/multi-word-component-names.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/multi-word-component-names
description: require component names to be always multi-word
since: v7.20.0
---
# vue/multi-word-component-names

> require component names to be always multi-word
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule require component names to be always multi-word, except for root `App`
Expand All @@ -30,6 +29,7 @@ Vue.component('Todo', {
// ...
})
```

</eslint-code-block>

<eslint-code-block filename="src/TodoItem.js" :rules="{'vue/multi-word-component-names': ['error']}">
Expand All @@ -43,6 +43,7 @@ export default {
}
</script>
```

</eslint-code-block>

<eslint-code-block filename="src/Todo.vue" :rules="{'vue/multi-word-component-names': ['error']}">
Expand All @@ -56,6 +57,7 @@ export default {
}
</script>
```

</eslint-code-block>

<eslint-code-block filename="src/Todo.vue" :rules="{'vue/multi-word-component-names': ['error']}">
Expand All @@ -68,6 +70,7 @@ export default {
}
</script>
```

</eslint-code-block>

## :wrench: Options
Expand All @@ -78,6 +81,10 @@ Nothing.

- [Style guide - Multi-word component names](https://vuejs.org/v2/style-guide/#Multi-word-component-names-essential)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v7.20.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/multi-word-component-names.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-computed-properties-in-data.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-computed-properties-in-data
description: disallow accessing computed properties in `data`.
since: v7.20.0
---
# vue/no-computed-properties-in-data

> disallow accessing computed properties in `data`.
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule disallow accessing computed properties in `data()`.
Expand Down Expand Up @@ -39,6 +38,10 @@ export default {

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-vue v7.20.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-computed-properties-in-data.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-deprecated-router-link-tag-prop.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-deprecated-router-link-tag-prop
description: disallow using deprecated `tag` property on `RouterLink` (in Vue.js 3.0.0+)
since: v7.20.0
---
# vue/no-deprecated-router-link-tag-prop

> disallow using deprecated `tag` property on `RouterLink` (in Vue.js 3.0.0+)
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule reports deprecated the `tag` attribute on `RouterLink` elements (removed in Vue.js v3.0.0+).
Expand Down Expand Up @@ -85,6 +84,10 @@ given component names.

- [Vue RFCs - 0021-router-link-scoped-slot](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0021-router-link-scoped-slot.md)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v7.20.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-deprecated-router-link-tag-prop.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-undef-properties.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-undef-properties
description: disallow undefined properties
since: v7.20.0
---
# vue/no-undef-properties

> disallow undefined properties
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule warns of using undefined properties.
Expand Down Expand Up @@ -108,6 +107,10 @@ watch(() => prop.undef, () => console.log('Updated!'))

</eslint-code-block>

## :rocket: Version

This rule was introduced in eslint-plugin-vue v7.20.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-undef-properties.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "7.19.0",
"version": "7.20.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 51079bf

Please sign in to comment.