From 68b75022b3128fae243d49bc68e2fcf05e8905f7 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Fri, 11 Jun 2021 13:39:02 +0900 Subject: [PATCH] 7.11.0 --- docs/rules/no-deprecated-v-is.md | 6 +++++- docs/rules/no-this-in-before-route-enter.md | 7 +++++-- package.json | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/rules/no-deprecated-v-is.md b/docs/rules/no-deprecated-v-is.md index 91cf44c12..7ae4c48d8 100644 --- a/docs/rules/no-deprecated-v-is.md +++ b/docs/rules/no-deprecated-v-is.md @@ -3,12 +3,12 @@ pageClass: rule-details sidebarDepth: 0 title: vue/no-deprecated-v-is description: disallow deprecated `v-is` directive (in Vue.js 3.1.0+) +since: v7.11.0 --- # vue/no-deprecated-v-is > disallow deprecated `v-is` directive (in Vue.js 3.1.0+) -- :exclamation: ***This rule has not been released yet.*** - :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. ## :book: Rule Details @@ -43,6 +43,10 @@ Use [`is` attribute with `vue:` prefix](https://v3.vuejs.org/api/special-attribu - [API - v-is](https://v3.vuejs.org/api/directives.html#v-is) - [API - v-is (Old)](https://github.com/vuejs/docs-next/blob/008613756c3d781128d96b64a2d27f7598f8f548/src/api/directives.md#v-is) +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v7.11.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-deprecated-v-is.js) diff --git a/docs/rules/no-this-in-before-route-enter.md b/docs/rules/no-this-in-before-route-enter.md index a00558f7f..2871a617f 100644 --- a/docs/rules/no-this-in-before-route-enter.md +++ b/docs/rules/no-this-in-before-route-enter.md @@ -3,13 +3,12 @@ pageClass: rule-details sidebarDepth: 0 title: vue/no-this-in-before-route-enter description: disallow `this` usage in a `beforeRouteEnter` method +since: v7.11.0 --- # vue/no-this-in-before-route-enter > disallow `this` usage in a `beforeRouteEnter` method -- :exclamation: ***This rule has not been released yet.*** - ## :book: Rule Details Because lack of `this` in the `beforeRouteEnter` [(docs)](https://router.vuejs.org/guide/advanced/navigation-guards.html#in-component-guards). This behavior isn't obvious, so it's pretty easy to make a `TypeError`. Especially during some refactor. @@ -60,6 +59,10 @@ When [vue-router](https://router.vuejs.org/) is not installed. [vue-router - in-component-guards](https://router.vuejs.org/guide/advanced/navigation-guards.html#in-component-guards) +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v7.11.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-this-in-before-route-enter.js) diff --git a/package.json b/package.json index 0b1e70e81..fba450055 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-vue", - "version": "7.10.0", + "version": "7.11.0", "description": "Official ESLint plugin for Vue.js", "main": "lib/index.js", "scripts": {