Skip to content

Commit

Permalink
7.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 11, 2021
1 parent a4ac565 commit 68b7502
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-deprecated-v-is.md
Expand Up @@ -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: <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.

## :book: Rule Details
Expand Down Expand Up @@ -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)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-this-in-before-route-enter.md
Expand Up @@ -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: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :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.
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down

0 comments on commit 68b7502

Please sign in to comment.