From 4ae9178475601ce95188bf07f73e159b83517ca5 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Mon, 15 Feb 2021 09:56:10 +0900 Subject: [PATCH] 7.6.0 --- docs/rules/html-button-has-type.md | 7 +++++-- package.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/rules/html-button-has-type.md b/docs/rules/html-button-has-type.md index af81eb9ed..5974f72da 100644 --- a/docs/rules/html-button-has-type.md +++ b/docs/rules/html-button-has-type.md @@ -3,13 +3,12 @@ pageClass: rule-details sidebarDepth: 0 title: vue/html-button-has-type description: disallow usage of button without an explicit type attribute +since: v7.6.0 --- # vue/html-button-has-type > disallow usage of button without an explicit type attribute -- :exclamation: ***This rule has not been released yet.*** - Forgetting the type attribute on a button defaults it to being a submit type. This is nearly never what is intended, especially in your average one-page application. @@ -57,6 +56,10 @@ This rule aims to warn if no type or an invalid type is used on a button type at - `true` (default) ... allow value `reset`. - `false"` ... disallow value `reset`. +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v7.6.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/html-button-has-type.js) diff --git a/package.json b/package.json index 0d33765a5..9714f037a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-vue", - "version": "7.5.0", + "version": "7.6.0", "description": "Official ESLint plugin for Vue.js", "main": "lib/index.js", "scripts": {