-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unnecessary parentheses around assignment in v-on
#16887
Merged
Merged
+137
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sosukesuzuki
approved these changes
Nov 26, 2024
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this pull request
Nov 26, 2024
##### [v3.4.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [diff](prettier/prettier@3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#16887](prettier/prettier#16887) by [@fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @click="foo += 2">Click</button> </template> ```
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this pull request
Nov 26, 2024
##### [v3.4.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [diff](prettier/prettier@3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#16887](prettier/prettier#16887) by [@fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @click="foo += 2">Click</button> </template> ```
renovate bot
added a commit
to andrei-picus-tink/auto-renovate
that referenced
this pull request
Nov 27, 2024
| datasource | package | from | to | | ---------- | -------- | ----- | ----- | | npm | prettier | 3.3.3 | 3.4.1 | ## [v3.4.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [diff](prettier/prettier@3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#16887](prettier/prettier#16887) by [@fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @click="foo += 2">Click</button> </template> ``` ## [v3.4.0](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#340) [diff](prettier/prettier@3.3.3...3.4.0) 🔗 [Release Notes](https://prettier.io/blog/2024/11/26/3.4.0.html)
renovate bot
added a commit
to andrei-picus-tink/auto-renovate
that referenced
this pull request
Nov 27, 2024
| datasource | package | from | to | | ---------- | -------- | ----- | ----- | | npm | prettier | 3.3.3 | 3.4.1 | ## [v3.4.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [diff](prettier/prettier@3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#16887](prettier/prettier#16887) by [@fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @click="foo += 2">Click</button> </template> ``` ## [v3.4.0](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#340) [diff](prettier/prettier@3.3.3...3.4.0) 🔗 [Release Notes](https://prettier.io/blog/2024/11/26/3.4.0.html)
OCram85
pushed a commit
to OCram85/arkanum
that referenced
this pull request
Dec 2, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | devDependencies | minor | [`3.3.3` -> `3.4.1`](https://renovatebot.com/diffs/npm/prettier/3.3.3/3.4.1) | --- ### Release Notes <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.4.1`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [Compare Source](prettier/prettier@3.4.0...3.4.1) [diff](prettier/prettier@3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#​16887](prettier/prettier#16887) by [@​fisker](https://github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @​click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @​click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @​click="foo += 2">Click</button> </template> ``` ### [`v3.4.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#340) [Compare Source](prettier/prettier@3.3.3...3.4.0) [diff](prettier/prettier@3.3.3...3.4.0) 🔗 [Release Notes](https://prettier.io/blog/2024/11/26/3.4.0.html) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi4yIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://gitea.ocram85.com/arkanum/arkanum/pulls/148 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix #16885
Checklist
docs/
directory).changelog_unreleased/*/XXXX.md
file followingchangelog_unreleased/TEMPLATE.md
.✨Try the playground for this PR✨