Skip to content
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

Update eslint-plugin-vue: 7.12.1 → 7.13.0 (minor) #211

Merged
merged 1 commit into from Jul 7, 2021

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jul 7, 2021

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint-plugin-vue (7.12.1 → 7.13.0) · Repo

Release Notes

7.13.0

✨ Enhancements

  • Supports <script setup>
    • #1529 Added vue/script-setup-uses-vars rule that will find variables in <script setup> used in <template> and mark them as used.
    • #1559 Added vue/no-export-in-script-setup rule that disallows ES export in <script setup>.
    • #1560 Added vue/valid-define-props rule that reports defineProps compiler macros in the following cases:
      • defineProps are referencing locally declared variables.
      • defineProps has both a literal type and an argument. e.g. defineProps<{/*props*/}>({/*props*/})
      • defineProps has been called multiple times.
      • Props are defined in both defineProps and export default {}.
      • Props are not defined in either defineProps or export default {}.
    • #1561 Added vue/valid-define-emits rule that reports defineEmits compiler macros in the following cases:
      • defineEmits are referencing locally declared variables.
      • defineEmits has both a literal type and an argument. e.g. defineEmits<(e: 'foo')=>void>(['bar'])
      • defineEmits has been called multiple times.
      • Custom events are defined in both defineEmits and export default {}.
      • Custom events are not defined in either defineEmits or export default {}.
    • #1532, #1559 Upgraded vue-eslint-parser.
    • Updated rules to support <script setup>.
      • #1531 vue/no-mutating-props rule.
      • #1535 vue/no-reserved-keys rule.
      • #1533 vue/no-async-in-computed-properties rule.
      • #1534 vue/no-side-effects-in-computed-properties rule.
      • #1536 vue/require-prop-type-constructor rule.
      • #1539 vue/no-lifecycle-after-await rule.
      • #1538 vue/require-valid-default-prop rule.
      • #1542 vue/return-in-emits-validator rule.
      • #1545 vue/require-default-prop rule.
      • #1540 vue/no-setup-props-destructure rule.
      • #1541 vue/no-watch-after-await rule.
      • #1543 vue/no-template-shadow rule.
      • #1544 vue/prop-name-casing rule.
      • #1546 vue/require-prop-types rule.
      • #1548 vue/require-explicit-emits rule.
      • #1549 vue/custom-event-name-casing rule.
      • #1550 vue/no-boolean-default rule.
      • #1551 vue/no-restricted-call-after-await rule.
      • #1552 vue/no-restricted-props rule.
      • #1553 vue/no-unregistered-components rule.
      • #1554 vue/no-unsupported-features rule.
      • #1555 vue/no-unused-properties rule.
      • #1556 vue/no-unused-refs rule.
      • #1557 vue/require-emit-validator rule.
      • #1558 vue/require-name-property rule.
  • #1543 Updated vue/no-template-shadow rule to support setup().
  • #1556 Updated vue/no-unused-refs rule to support setup().

🐛 Bug Fixes

  • #1527 Changed the indent rule so that the union type has the same indent as the binary expression.

⚙️ Updates

  • #1528 Deprecated vue/experimental-script-setup-vars rule.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 36 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jul 7, 2021
@depfu depfu bot merged commit 7239477 into master Jul 7, 2021
@depfu depfu bot deleted the depfu/update/yarn/eslint-plugin-vue-7.13.0 branch July 7, 2021 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant