JS.VUE.OBJECT.SHORTHAND

Require or disallow method and property shorthand syntax for object literals

This rule is the same rule as core object-shorthand rule but it applies to the expressions in <template>.

Further Reading

  • https://eslint.org/docs/rules/object-shorthand

The content on this page is adapted from the ESLint User Guide. Copyright © OpenJS Foundation and other contributors, www.openjsf.org. All rights reserved. https://eslint.org/docs/rules/