From 8900a96fb73775a4808033860d453840ca4b83d3 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Fri, 22 Apr 2022 16:35:37 +0900 Subject: [PATCH] 8.7.0 --- docs/rules/define-macros-order.md | 6 +++++- docs/rules/match-component-import-name.md | 7 +++++-- lib/configs/no-layout-rules.js | 1 + package.json | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/rules/define-macros-order.md b/docs/rules/define-macros-order.md index d928e003a..6fe48b20a 100644 --- a/docs/rules/define-macros-order.md +++ b/docs/rules/define-macros-order.md @@ -3,12 +3,12 @@ pageClass: rule-details sidebarDepth: 0 title: vue/define-macros-order description: enforce order of `defineEmits` and `defineProps` compiler macros +since: v8.7.0 --- # vue/define-macros-order > enforce order of `defineEmits` and `defineProps` compiler macros -- :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 @@ -66,6 +66,10 @@ defineEmits(/* ... */) +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v8.7.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/define-macros-order.js) diff --git a/docs/rules/match-component-import-name.md b/docs/rules/match-component-import-name.md index 083f6b326..7abf7eca1 100644 --- a/docs/rules/match-component-import-name.md +++ b/docs/rules/match-component-import-name.md @@ -3,13 +3,12 @@ pageClass: rule-details sidebarDepth: 0 title: vue/match-component-import-name description: require the registered component name to match the imported component name +since: v8.7.0 --- # vue/match-component-import-name > require the registered component name to match the imported component name -- :exclamation: ***This rule has not been released yet.*** - ## :book: Rule Details By default, this rule will validate that the imported name matches the name of the components object property identifer. Note that "matches" means that the imported name matches either the PascalCase or kebab-case version of the components object property identifer. If you would like to enforce that it must match only one of PascalCase or kebab-case, use this rule in conjunction with the rule [vue/component-definition-name-casing](./component-definition-name-casing.md). @@ -39,6 +38,10 @@ export default { - [vue/component-definition-name-casing](./component-definition-name-casing.md) +## :rocket: Version + +This rule was introduced in eslint-plugin-vue v8.7.0 + ## :mag: Implementation - [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/match-component-import-name.js) diff --git a/lib/configs/no-layout-rules.js b/lib/configs/no-layout-rules.js index 4c88287af..ab03684b5 100644 --- a/lib/configs/no-layout-rules.js +++ b/lib/configs/no-layout-rules.js @@ -14,6 +14,7 @@ module.exports = { 'vue/comma-dangle': 'off', 'vue/comma-spacing': 'off', 'vue/comma-style': 'off', + 'vue/define-macros-order': 'off', 'vue/dot-location': 'off', 'vue/first-attribute-linebreak': 'off', 'vue/func-call-spacing': 'off', diff --git a/package.json b/package.json index 9ddbb72a4..1f15ff05b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-vue", - "version": "8.6.0", + "version": "8.7.0", "description": "Official ESLint plugin for Vue.js", "main": "lib/index.js", "scripts": {