Release notes
*Sourced from [eslint-plugin-vue's releases](https://github.com/vuejs/eslint-plugin-vue/releases).*
> ## v5.2.1
> ### π Bug Fixes
>
> - [#816](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/816) fixed `vue/no-async-in-computed-properties` to not crash on `return` statements that have no value.
>
> ## v5.2.0
> ## β¨ Enhancements
>
> ### New Rules:
>
> - [#481](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/481) added `vue/v-on-function-call` rule that enforces or forbids parentheses after method calls without arguments in `v-on` directives.
> - [#581](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/581) added `vue/require-direct-export` rule that enforces the component to be directly exported.
> - [#612](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/612) added `vue/no-boolean-default` rule that disallows the default value of boolean properties.
> - [#668](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/668) added `vue/match-component-file-name` rule that verifies component name property to match its file name.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/array-bracket-spacing` rule that enforces consistent spacing inside array brackets in `\`.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/eqeqeq` rule that applies `eqeqeq` rule to expressions in `\`.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/key-spacing` rule that applies `key-spacing` rule to expressions in `\`.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/object-curly-spacing` rule that applies `object-curly-spacing` rule to expressions in `\`.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/space-infix-ops` rule that applies `space-infix-ops` rule to expressions in `\`.
> - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/space-unary-ops` rule that applies `space-unary-ops` rule to expressions in `\`.
> - [#758](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/758) added `vue/no-restricted-syntax` rule that applies `no-restricted-syntax` rule to expressions in `\`.
> - [#767](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/767) added `vue/arrow-spacing` rule that applies `arrow-spacing` rule to expressions in `\`.
> - [#770](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/770) added `vue/block-spacing` rule that applies `block-spacing` rule to expressions in `\`.
> - [#771](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/771) added `vue/brace-style` rule that applies `brace-style` rule to expressions in `\`.
> - [#772](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/772) added `vue/camelcase` rule that applies `camelcase` rule to expressions in `\`.
> - [#773](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/773) added `vue/comma-dangle` rule that applies `comma-dangle` rule to expressions in `\`.
>
>
> ### New Options:
>
> - [#714](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/714) added `registeredComponentsOnly` option to `vue/component-name-in-template-casing` rule to ignore unknown elements.
>
> ### Other changes in Rules:
>
> - [#786](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/786) modified `vue/order-in-components` rule to recognize Nuxt-specific members.
>
> ## π Bug Fixes
>
> - [#738](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/738) fixed `vue/multiline-html-element-content-newline` rule and `vue/singleline-html-element-content-newline` rule to ignore inline elements by default.
> - [#745](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/745) fixed `vue/no-async-in-computed-properties` rule to allow await expression in nested scopes.
> - [#750](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/750) fixed `vue/use-v-on-exact` rule about false positives.
> - [#754](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/754) fixed multiple bugs via updating `vue-eslint-parser`.
> - it fixed the parser to parse anonymous functions in `v-on` directive correctly.
> - it fixed the parser to parse multiple parameters in `slot-scope` attribute correctly.
> - it fixed the parser to not parse expressions in the elements which have `v-pre` directive.
> - [#790](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/790) fixed `vue/no-unused-components` rule to process computed properties properly.
> - [#791](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/791) fixed `vue/require-default-prop` rule and `vue/require-valid-default-prop` rule to process computed properties properly.
> - [#793](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/793) fixed `vue/no-unused-components` rule to process empty `:is` directives properly.
>
> ---
> ... (truncated)
Commits
- [`1447bab`](https://github.com/vuejs/eslint-plugin-vue/commit/1447bab362a3eff592400cc8400ecf1de2f36d64) π 5.2.1
- [`7e4936f`](https://github.com/vuejs/eslint-plugin-vue/commit/7e4936ff9a0a06c68a1f46b6416b3c9a0337e608) Fix: no-async-in-computed-properties with empty returns ([#816](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/816))
- [`04b3c38`](https://github.com/vuejs/eslint-plugin-vue/commit/04b3c38d372ad37a7e2acdb8a8c38d6e616b0528) π 5.2.0
- [`28b7d9c`](https://github.com/vuejs/eslint-plugin-vue/commit/28b7d9c245c76f90e82c45554a3d3fa81ce0b2ab) Fix: fix for computed property names (fixes [#776](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/776)) ([#791](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/791))
- [`b1699ce`](https://github.com/vuejs/eslint-plugin-vue/commit/b1699ce6a9c002e0d75ffe2e35d5368553ed6aea) Docs: fix spelling mistake ([#809](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/809))
- [`a3707b1`](https://github.com/vuejs/eslint-plugin-vue/commit/a3707b1bed6e832b1554dd6a157738a63172301c) Fix: ignore names that can not be identified (fixed [#768](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/768)) ([#790](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/790))
- [`0f4861a`](https://github.com/vuejs/eslint-plugin-vue/commit/0f4861af00a8a012f043ff00e1c8f13a2f81b9ae) Docs: update README.md ([#806](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/806))
- [`4359288`](https://github.com/vuejs/eslint-plugin-vue/commit/4359288e781253c7c5768b454a59c361712ef099) Fix: parsing error in testcases with acorn@6.0.7. ([#803](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/803))
- [`f46c75b`](https://github.com/vuejs/eslint-plugin-vue/commit/f46c75b391422a651711fe67aac60963faf39406) Chore: update document of `match-component-file-name.md` ([#788](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/788))
- [`58d4a68`](https://github.com/vuejs/eslint-plugin-vue/commit/58d4a686401370c44935ed8dfe7937738704fd5d) fix(no-unused-components): crash when `:is` in `` is empty ([#793](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/793))
- Additional commits viewable in [compare view](https://github.com/vuejs/eslint-plugin-vue/compare/v5.1.0...v5.2.1)
Maintainer changes
This version was pushed to npm by [mysticatea](https://www.npmjs.com/~mysticatea), a new releaser for eslint-plugin-vue since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps eslint-plugin-vue from 5.1.0 to 5.2.1.
Release notes
*Sourced from [eslint-plugin-vue's releases](https://github.com/vuejs/eslint-plugin-vue/releases).* > ## v5.2.1 > ### π Bug Fixes > > - [#816](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/816) fixed `vue/no-async-in-computed-properties` to not crash on `return` statements that have no value. > > ## v5.2.0 > ## β¨ Enhancements > > ### New Rules: > > - [#481](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/481) added `vue/v-on-function-call` rule that enforces or forbids parentheses after method calls without arguments in `v-on` directives. > - [#581](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/581) added `vue/require-direct-export` rule that enforces the component to be directly exported. > - [#612](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/612) added `vue/no-boolean-default` rule that disallows the default value of boolean properties. > - [#668](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/668) added `vue/match-component-file-name` rule that verifies component name property to match its file name. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/array-bracket-spacing` rule that enforces consistent spacing inside array brackets in `\`. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/eqeqeq` rule that applies `eqeqeq` rule to expressions in `\`. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/key-spacing` rule that applies `key-spacing` rule to expressions in `\`. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/object-curly-spacing` rule that applies `object-curly-spacing` rule to expressions in `\`. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/space-infix-ops` rule that applies `space-infix-ops` rule to expressions in `\`. > - [#680](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/680) added `vue/space-unary-ops` rule that applies `space-unary-ops` rule to expressions in `\`. > - [#758](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/758) added `vue/no-restricted-syntax` rule that applies `no-restricted-syntax` rule to expressions in `\`. > - [#767](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/767) added `vue/arrow-spacing` rule that applies `arrow-spacing` rule to expressions in `\`. > - [#770](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/770) added `vue/block-spacing` rule that applies `block-spacing` rule to expressions in `\`. > - [#771](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/771) added `vue/brace-style` rule that applies `brace-style` rule to expressions in `\`. > - [#772](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/772) added `vue/camelcase` rule that applies `camelcase` rule to expressions in `\`. > - [#773](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/773) added `vue/comma-dangle` rule that applies `comma-dangle` rule to expressions in `\`. > > > ### New Options: > > - [#714](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/714) added `registeredComponentsOnly` option to `vue/component-name-in-template-casing` rule to ignore unknown elements. > > ### Other changes in Rules: > > - [#786](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/786) modified `vue/order-in-components` rule to recognize Nuxt-specific members. > > ## π Bug Fixes > > - [#738](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/738) fixed `vue/multiline-html-element-content-newline` rule and `vue/singleline-html-element-content-newline` rule to ignore inline elements by default. > - [#745](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/745) fixed `vue/no-async-in-computed-properties` rule to allow await expression in nested scopes. > - [#750](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/750) fixed `vue/use-v-on-exact` rule about false positives. > - [#754](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/754) fixed multiple bugs via updating `vue-eslint-parser`. > - it fixed the parser to parse anonymous functions in `v-on` directive correctly. > - it fixed the parser to parse multiple parameters in `slot-scope` attribute correctly. > - it fixed the parser to not parse expressions in the elements which have `v-pre` directive. > - [#790](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/790) fixed `vue/no-unused-components` rule to process computed properties properly. > - [#791](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/791) fixed `vue/require-default-prop` rule and `vue/require-valid-default-prop` rule to process computed properties properly. > - [#793](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/793) fixed `vue/no-unused-components` rule to process empty `:is` directives properly. > > --- > ... (truncated)Commits
- [`1447bab`](https://github.com/vuejs/eslint-plugin-vue/commit/1447bab362a3eff592400cc8400ecf1de2f36d64) π 5.2.1 - [`7e4936f`](https://github.com/vuejs/eslint-plugin-vue/commit/7e4936ff9a0a06c68a1f46b6416b3c9a0337e608) Fix: no-async-in-computed-properties with empty returns ([#816](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/816)) - [`04b3c38`](https://github.com/vuejs/eslint-plugin-vue/commit/04b3c38d372ad37a7e2acdb8a8c38d6e616b0528) π 5.2.0 - [`28b7d9c`](https://github.com/vuejs/eslint-plugin-vue/commit/28b7d9c245c76f90e82c45554a3d3fa81ce0b2ab) Fix: fix for computed property names (fixes [#776](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/776)) ([#791](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/791)) - [`b1699ce`](https://github.com/vuejs/eslint-plugin-vue/commit/b1699ce6a9c002e0d75ffe2e35d5368553ed6aea) Docs: fix spelling mistake ([#809](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/809)) - [`a3707b1`](https://github.com/vuejs/eslint-plugin-vue/commit/a3707b1bed6e832b1554dd6a157738a63172301c) Fix: ignore names that can not be identified (fixed [#768](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/768)) ([#790](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/790)) - [`0f4861a`](https://github.com/vuejs/eslint-plugin-vue/commit/0f4861af00a8a012f043ff00e1c8f13a2f81b9ae) Docs: update README.md ([#806](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/806)) - [`4359288`](https://github.com/vuejs/eslint-plugin-vue/commit/4359288e781253c7c5768b454a59c361712ef099) Fix: parsing error in testcases with acorn@6.0.7. ([#803](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/803)) - [`f46c75b`](https://github.com/vuejs/eslint-plugin-vue/commit/f46c75b391422a651711fe67aac60963faf39406) Chore: update document of `match-component-file-name.md` ([#788](https://github-redirect.dependabot.com/vuejs/eslint-plugin-vue/issues/788)) - [`58d4a68`](https://github.com/vuejs/eslint-plugin-vue/commit/58d4a686401370c44935ed8dfe7937738704fd5d) fix(no-unused-components): crash when `:is` in `Maintainer changes
This version was pushed to npm by [mysticatea](https://www.npmjs.com/~mysticatea), a new releaser for eslint-plugin-vue since your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.