Skip to content

Commit

Permalink
8.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 27, 2022
1 parent 9fa8ede commit 45a7650
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
7 changes: 5 additions & 2 deletions docs/rules/no-undef-components.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-undef-components
description: disallow use of undefined components in `<template>`
since: v8.4.0
---
# vue/no-undef-components

> disallow use of undefined components in `<template>`
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

This rule reports components that are used in the `<template>`, but that are not defined in the `<script setup>` or the Options API's `components` section.

Undefined components will be resolved from globally registered components. However, if you are not using global components, you can use this rule to prevent run-time errors.
Expand Down Expand Up @@ -172,6 +171,10 @@ export default {

- [vue/no-undef-properties](./no-undef-properties.md)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.4.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-undef-components.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-v-text-v-html-on-component.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-v-text-v-html-on-component
description: disallow v-text / v-html on component
since: v8.4.0
---
# vue/no-v-text-v-html-on-component

> disallow v-text / v-html on component
- :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 disallows the use of v-text / v-html on component.
Expand Down Expand Up @@ -37,6 +36,10 @@ If you use v-text / v-html on a component, it will overwrite the component's con

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.4.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-v-text-v-html-on-component.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/object-shorthand.md
Expand Up @@ -3,12 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/object-shorthand
description: require or disallow method and property shorthand syntax for object literals in `<template>`
since: v8.4.0
---
# vue/object-shorthand

> require or disallow method and property shorthand syntax for object literals in `<template>`
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

This rule is the same rule as core [object-shorthand] rule but it applies to the expressions in `<template>`.
Expand All @@ -19,6 +19,10 @@ This rule is the same rule as core [object-shorthand] rule but it applies to the

[object-shorthand]: https://eslint.org/docs/rules/object-shorthand

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.4.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/object-shorthand.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/quote-props.md
Expand Up @@ -3,12 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/quote-props
description: require quotes around object literal property names in `<template>`
since: v8.4.0
---
# vue/quote-props

> require quotes around object literal property names in `<template>`
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

This rule is the same rule as core [quote-props] rule but it applies to the expressions in `<template>`.
Expand All @@ -19,6 +19,10 @@ This rule is the same rule as core [quote-props] rule but it applies to the expr

[quote-props]: https://eslint.org/docs/rules/quote-props

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.4.0

## :mag: Implementation

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

0 comments on commit 45a7650

Please sign in to comment.