vuejs/eslint-plugin-vue
### [`v7.9.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.9.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.8.0...v7.9.0)
##### ✨ Enhancements
##### New Rules:
- [#1466](https://togithub.com/vuejs/eslint-plugin-vue/issues/1466) Added `vue/no-invalid-model-keys` rule that disallow invalid model option keys.
- [#1474](https://togithub.com/vuejs/eslint-plugin-vue/issues/1474) Added `vue/no-unused-refs` rule that reports refs that are defined using the `ref` attribute in `` but are not used via `$refs`.
##### Other changes in Rules:
- [#1465](https://togithub.com/vuejs/eslint-plugin-vue/issues/1465) Added `singleline.allowFirstLine` option to `vue/max-attributes-per-line` rule.
##### :bug: Bug Fixes
- [#1469](https://togithub.com/vuejs/eslint-plugin-vue/issues/1469) Fixed false negative in `as` expression for `vue/require-valid-default-prop` rule.
* * *
**All commits:** [v7.8.0 -> v7.9.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.8.0...v7.9.0)
### [`v7.8.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.8.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.7.0...v7.8.0)
#### ✨ Enhancements
- [#1450](https://togithub.com/vuejs/eslint-plugin-vue/issues/1450) Changed `vue/require-direct-export` rule to allow more cases (e.g. `export default defineComponent({})`).
- [#1451](https://togithub.com/vuejs/eslint-plugin-vue/issues/1451) Changed `vue/valid-v-show` rule to disallow `v-show` in `` tag.
### [`v7.7.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.7.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.6.0...v7.7.0)
#### ✨ Enhancements
##### Changes in Rules:
- [#1444](https://togithub.com/vuejs/eslint-plugin-vue/issues/1444) Added `ignorePublicMembers` option to `vue/no-unused-properties` rule.
#### 🐛 Bug Fixes
- [#1446](https://togithub.com/vuejs/eslint-plugin-vue/issues/1446) Fixed false negatives for member access with `$` in `vue/this-in-template` rule.
#### :gear: Updates
- [#1448](https://togithub.com/vuejs/eslint-plugin-vue/issues/1448) Upgrade `vue-eslint-parser` to v7.6.0.
This makes the parser to case sensitive to the name used to determine the element when the file is SFC.
* * *
**All commits:** [v7.6.0 -> v7.7.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.6.0...v7.7.0)
### [`v7.6.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.6.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.5.0...v7.6.0)
#### ✨ Enhancements
##### New Rules:
- [#1001](https://togithub.com/vuejs/eslint-plugin-vue/issues/1001), [#1432](https://togithub.com/vuejs/eslint-plugin-vue/issues/1432) Added `vue/html-button-has-type` rule.
##### Other changes in Rules:
- [#1429](https://togithub.com/vuejs/eslint-plugin-vue/issues/1429) Added `"SLOT"` option to `vue/attributes-order` rule to specify `v-slot` order.
- [#1430](https://togithub.com/vuejs/eslint-plugin-vue/issues/1430) Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
- `vue/attributes-order` rule.
- `vue/component-tags-order` rule.
- `vue/max-attributes-per-line` rule.
- `vue/new-line-between-multi-line-property` rule.
- `vue/no-bare-strings-in-template` rule.
- `vue/no-duplicate-attributes` rule.
- `vue/no-potential-component-option-typo` rule.
- `vue/no-reserved-component-names` rule.
- `vue/no-use-v-if-with-v-for` rule.
- `vue/no-useless-mustaches` rule.
- `vue/no-useless-v-bind` rule.
- `vue/valid-v-slot` rule.
- [#1436](https://togithub.com/vuejs/eslint-plugin-vue/issues/1436) Improved autofix of `vue/no-deprecated-slot-attribute` rule when slot name contains `_`.
#### 🐛 Bug Fixes
- [#1434](https://togithub.com/vuejs/eslint-plugin-vue/issues/1434) Fixed false negatives for `v-bind="object"` in `vue/attributes-order` rule.
#### :gear: Updates
- [#1440](https://togithub.com/vuejs/eslint-plugin-vue/issues/1440) Upgrade `vue-eslint-parser` to v7.5.0.
This change fixes an issue that caused a crash when using some queries with `vue/no-restricted-syntax` rule.
* * *
**All commits:** [v7.5.0 -> v7.6.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.5.0...v7.6.0)
### [`v7.5.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.5.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.1...v7.5.0)
##### ✨ Enhancements
##### New Rules:
- [#1401](https://togithub.com/vuejs/eslint-plugin-vue/issues/1401) Added `vue/no-constant-condition` rule applies `no-constant-condition` rule to expressions in ``, `v-if`, `v-show` and `v-else-if`.
- [#1400](https://togithub.com/vuejs/eslint-plugin-vue/issues/1400) Added `vue/next-tick-style` rule that enforces whether the callback version or Promise version should be used in `Vue.nextTick` and `this.$nextTick`.
- [#1404](https://togithub.com/vuejs/eslint-plugin-vue/issues/1404) Added `vue/valid-next-tick` rule that enforce valid `nextTick` function calls.
##### Other changes in Rules:
- [#1396](https://togithub.com/vuejs/eslint-plugin-vue/issues/1396) Make `vue/no-ref-as-operand` rule fixable.
##### 🐛 Bug Fixes
- [#1398](https://togithub.com/vuejs/eslint-plugin-vue/issues/1398) Added `computed()` support to `vue/no-async-in-computed-properties` rule.
- [#1406](https://togithub.com/vuejs/eslint-plugin-vue/issues/1406) Added `computed()` support to `vue/return-in-computed-property` rule.
- [#1407](https://togithub.com/vuejs/eslint-plugin-vue/issues/1407) Added `computed()` support to `vue/no-side-effects-in-computed-properties` rule.
- [#1419](https://togithub.com/vuejs/eslint-plugin-vue/issues/1419) Fixed false positives for mixin() in `vue/one-component-per-file` and `vue/require-name-property` rules.
- [#1421](https://togithub.com/vuejs/eslint-plugin-vue/issues/1421) Fixed crash for toLocaleString() in `vue/no-unused-properties` rule.
- [#1420](https://togithub.com/vuejs/eslint-plugin-vue/issues/1420) Fixed false positives for quoted 'emits' in vue/require-explicit-emits rule.
##### :gear: Updates
- [#1422](https://togithub.com/vuejs/eslint-plugin-vue/issues/1422) Upgrade vue-eslint-parser to 7.4.1
##### :gear: Chores
- [#1392](https://togithub.com/vuejs/eslint-plugin-vue/issues/1392) Refactor `vue/attributes-order` rule.
- [#1405](https://togithub.com/vuejs/eslint-plugin-vue/issues/1405) Refactor `vue/no-async-in-computed-properties` rule.
* * *
**All commits:** [v7.4.1 -> v7.5.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.1...v7.5.0)
### [`v7.4.1`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.4.1)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.0...v7.4.1)
#### 🐛 Bug Fixes
- [`d176d6b`](https://togithub.com/vuejs/eslint-plugin-vue/commit/d176d6bce9953c1b20eff851208235ea7e7a5efa) Fixed false positives for assignments in `no-ref-as-operand` rule
* * *
**All commits:** [v7.4.0 -> v7.4.1](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.0...v7.4.1)
### [`v7.4.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.4.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.3.0...v7.4.0)
#### ✨ Enhancements
##### New Rules:
- [#1381](https://togithub.com/vuejs/eslint-plugin-vue/issues/1381) Added `vue/no-restricted-call-after-await` rule that reports your restricted calls after the `await` expression.
- [#1388](https://togithub.com/vuejs/eslint-plugin-vue/issues/1388) Added `vue/v-on-event-hyphenation` rule that enforces using hyphenated v-on event names on custom components in Vue templates.
- [#1389](https://togithub.com/vuejs/eslint-plugin-vue/issues/1389) Added `vue/no-restricted-block` rule that allows you to specify block names that you don't want to use in your application.
##### Other changes in Rules:
- [#1387](https://togithub.com/vuejs/eslint-plugin-vue/issues/1387) Added `deepData` option to `vue/no-unused-properties` rule.
#### 🐛 Bug Fixes
- [#1382](https://togithub.com/vuejs/eslint-plugin-vue/issues/1382) Fixed multiple reporting of same warnings in `vue/no-unregistered-component` rule.
- [#1391](https://togithub.com/vuejs/eslint-plugin-vue/issues/1391) Fixed false positives for `v-bind="object"` syntax in `vue/attributes-order` rule.
* * *
**All commits:** [v7.3.0 -> v7.4.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.3.0...v7.4.0)
### [`v7.3.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.3.0)
[Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.2.0...v7.3.0)
#### ✨ Enhancements
- [#1080](https://togithub.com/vuejs/eslint-plugin-vue/issues/1080) Added `vue/new-line-between-multiline-property` rule that enforces new lines between multi-line properties.
- [#1376](https://togithub.com/vuejs/eslint-plugin-vue/issues/1376) Added `vue/no-restricted-props` rule that disallows prop names that you don't want to use.
- [#1377](https://togithub.com/vuejs/eslint-plugin-vue/issues/1377) Added `vue/no-restricted-custom-event` rule that disallows custom event names that you don't want to use.
#### ⚙️ Updates
- [#1375](https://togithub.com/vuejs/eslint-plugin-vue/issues/1375) Upgraded [vue-eslint-parser to 7.3.0](https://togithub.com/vuejs/vue-eslint-parser/releases/tag/v7.3.0)
* * *
**All commits:** [v7.2.0 -> v7.3.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.2.0...v7.3.0)
Configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
^7.2.0
->^7.9.0
Release Notes
vuejs/eslint-plugin-vue
### [`v7.9.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.9.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.8.0...v7.9.0) ##### ✨ Enhancements ##### New Rules: - [#1466](https://togithub.com/vuejs/eslint-plugin-vue/issues/1466) Added `vue/no-invalid-model-keys` rule that disallow invalid model option keys. - [#1474](https://togithub.com/vuejs/eslint-plugin-vue/issues/1474) Added `vue/no-unused-refs` rule that reports refs that are defined using the `ref` attribute in `` but are not used via `$refs`. ##### Other changes in Rules: - [#1465](https://togithub.com/vuejs/eslint-plugin-vue/issues/1465) Added `singleline.allowFirstLine` option to `vue/max-attributes-per-line` rule. ##### :bug: Bug Fixes - [#1469](https://togithub.com/vuejs/eslint-plugin-vue/issues/1469) Fixed false negative in `as` expression for `vue/require-valid-default-prop` rule. * * * **All commits:** [v7.8.0 -> v7.9.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.8.0...v7.9.0) ### [`v7.8.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.8.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.7.0...v7.8.0) #### ✨ Enhancements - [#1450](https://togithub.com/vuejs/eslint-plugin-vue/issues/1450) Changed `vue/require-direct-export` rule to allow more cases (e.g. `export default defineComponent({})`). - [#1451](https://togithub.com/vuejs/eslint-plugin-vue/issues/1451) Changed `vue/valid-v-show` rule to disallow `v-show` in `` tag. ### [`v7.7.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.7.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.6.0...v7.7.0) #### ✨ Enhancements ##### Changes in Rules: - [#1444](https://togithub.com/vuejs/eslint-plugin-vue/issues/1444) Added `ignorePublicMembers` option to `vue/no-unused-properties` rule. #### 🐛 Bug Fixes - [#1446](https://togithub.com/vuejs/eslint-plugin-vue/issues/1446) Fixed false negatives for member access with `$` in `vue/this-in-template` rule. #### :gear: Updates - [#1448](https://togithub.com/vuejs/eslint-plugin-vue/issues/1448) Upgrade `vue-eslint-parser` to v7.6.0. This makes the parser to case sensitive to the name used to determine the element when the file is SFC. * * * **All commits:** [v7.6.0 -> v7.7.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.6.0...v7.7.0) ### [`v7.6.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.6.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.5.0...v7.6.0) #### ✨ Enhancements ##### New Rules: - [#1001](https://togithub.com/vuejs/eslint-plugin-vue/issues/1001), [#1432](https://togithub.com/vuejs/eslint-plugin-vue/issues/1432) Added `vue/html-button-has-type` rule. ##### Other changes in Rules: - [#1429](https://togithub.com/vuejs/eslint-plugin-vue/issues/1429) Added `"SLOT"` option to `vue/attributes-order` rule to specify `v-slot` order. - [#1430](https://togithub.com/vuejs/eslint-plugin-vue/issues/1430) Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors. - `vue/attributes-order` rule. - `vue/component-tags-order` rule. - `vue/max-attributes-per-line` rule. - `vue/new-line-between-multi-line-property` rule. - `vue/no-bare-strings-in-template` rule. - `vue/no-duplicate-attributes` rule. - `vue/no-potential-component-option-typo` rule. - `vue/no-reserved-component-names` rule. - `vue/no-use-v-if-with-v-for` rule. - `vue/no-useless-mustaches` rule. - `vue/no-useless-v-bind` rule. - `vue/valid-v-slot` rule. - [#1436](https://togithub.com/vuejs/eslint-plugin-vue/issues/1436) Improved autofix of `vue/no-deprecated-slot-attribute` rule when slot name contains `_`. #### 🐛 Bug Fixes - [#1434](https://togithub.com/vuejs/eslint-plugin-vue/issues/1434) Fixed false negatives for `v-bind="object"` in `vue/attributes-order` rule. #### :gear: Updates - [#1440](https://togithub.com/vuejs/eslint-plugin-vue/issues/1440) Upgrade `vue-eslint-parser` to v7.5.0. This change fixes an issue that caused a crash when using some queries with `vue/no-restricted-syntax` rule. * * * **All commits:** [v7.5.0 -> v7.6.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.5.0...v7.6.0) ### [`v7.5.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.5.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.1...v7.5.0) ##### ✨ Enhancements ##### New Rules: - [#1401](https://togithub.com/vuejs/eslint-plugin-vue/issues/1401) Added `vue/no-constant-condition` rule applies `no-constant-condition` rule to expressions in ``, `v-if`, `v-show` and `v-else-if`. - [#1400](https://togithub.com/vuejs/eslint-plugin-vue/issues/1400) Added `vue/next-tick-style` rule that enforces whether the callback version or Promise version should be used in `Vue.nextTick` and `this.$nextTick`. - [#1404](https://togithub.com/vuejs/eslint-plugin-vue/issues/1404) Added `vue/valid-next-tick` rule that enforce valid `nextTick` function calls. ##### Other changes in Rules: - [#1396](https://togithub.com/vuejs/eslint-plugin-vue/issues/1396) Make `vue/no-ref-as-operand` rule fixable. ##### 🐛 Bug Fixes - [#1398](https://togithub.com/vuejs/eslint-plugin-vue/issues/1398) Added `computed()` support to `vue/no-async-in-computed-properties` rule. - [#1406](https://togithub.com/vuejs/eslint-plugin-vue/issues/1406) Added `computed()` support to `vue/return-in-computed-property` rule. - [#1407](https://togithub.com/vuejs/eslint-plugin-vue/issues/1407) Added `computed()` support to `vue/no-side-effects-in-computed-properties` rule. - [#1419](https://togithub.com/vuejs/eslint-plugin-vue/issues/1419) Fixed false positives for mixin() in `vue/one-component-per-file` and `vue/require-name-property` rules. - [#1421](https://togithub.com/vuejs/eslint-plugin-vue/issues/1421) Fixed crash for toLocaleString() in `vue/no-unused-properties` rule. - [#1420](https://togithub.com/vuejs/eslint-plugin-vue/issues/1420) Fixed false positives for quoted 'emits' in vue/require-explicit-emits rule. ##### :gear: Updates - [#1422](https://togithub.com/vuejs/eslint-plugin-vue/issues/1422) Upgrade vue-eslint-parser to 7.4.1 ##### :gear: Chores - [#1392](https://togithub.com/vuejs/eslint-plugin-vue/issues/1392) Refactor `vue/attributes-order` rule. - [#1405](https://togithub.com/vuejs/eslint-plugin-vue/issues/1405) Refactor `vue/no-async-in-computed-properties` rule. * * * **All commits:** [v7.4.1 -> v7.5.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.1...v7.5.0) ### [`v7.4.1`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.4.1) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.0...v7.4.1) #### 🐛 Bug Fixes - [`d176d6b`](https://togithub.com/vuejs/eslint-plugin-vue/commit/d176d6bce9953c1b20eff851208235ea7e7a5efa) Fixed false positives for assignments in `no-ref-as-operand` rule * * * **All commits:** [v7.4.0 -> v7.4.1](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.4.0...v7.4.1) ### [`v7.4.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.4.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.3.0...v7.4.0) #### ✨ Enhancements ##### New Rules: - [#1381](https://togithub.com/vuejs/eslint-plugin-vue/issues/1381) Added `vue/no-restricted-call-after-await` rule that reports your restricted calls after the `await` expression. - [#1388](https://togithub.com/vuejs/eslint-plugin-vue/issues/1388) Added `vue/v-on-event-hyphenation` rule that enforces using hyphenated v-on event names on custom components in Vue templates. - [#1389](https://togithub.com/vuejs/eslint-plugin-vue/issues/1389) Added `vue/no-restricted-block` rule that allows you to specify block names that you don't want to use in your application. ##### Other changes in Rules: - [#1387](https://togithub.com/vuejs/eslint-plugin-vue/issues/1387) Added `deepData` option to `vue/no-unused-properties` rule. #### 🐛 Bug Fixes - [#1382](https://togithub.com/vuejs/eslint-plugin-vue/issues/1382) Fixed multiple reporting of same warnings in `vue/no-unregistered-component` rule. - [#1391](https://togithub.com/vuejs/eslint-plugin-vue/issues/1391) Fixed false positives for `v-bind="object"` syntax in `vue/attributes-order` rule. * * * **All commits:** [v7.3.0 -> v7.4.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.3.0...v7.4.0) ### [`v7.3.0`](https://togithub.com/vuejs/eslint-plugin-vue/releases/v7.3.0) [Compare Source](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.2.0...v7.3.0) #### ✨ Enhancements - [#1080](https://togithub.com/vuejs/eslint-plugin-vue/issues/1080) Added `vue/new-line-between-multiline-property` rule that enforces new lines between multi-line properties. - [#1376](https://togithub.com/vuejs/eslint-plugin-vue/issues/1376) Added `vue/no-restricted-props` rule that disallows prop names that you don't want to use. - [#1377](https://togithub.com/vuejs/eslint-plugin-vue/issues/1377) Added `vue/no-restricted-custom-event` rule that disallows custom event names that you don't want to use. #### ⚙️ Updates - [#1375](https://togithub.com/vuejs/eslint-plugin-vue/issues/1375) Upgraded [vue-eslint-parser to 7.3.0](https://togithub.com/vuejs/vue-eslint-parser/releases/tag/v7.3.0) * * * **All commits:** [v7.2.0 -> v7.3.0](https://togithub.com/vuejs/eslint-plugin-vue/compare/v7.2.0...v7.3.0)Configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.