vue/space-unary-ops

enforce consistent spacing before or after unary operators

  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

This rule is the same rule as core space-unary-ops rule but it applies to the expressions in <template>.

📚 Further reading

🔍 Implementation

Last Updated: 1/5/2019, 3:29:33 PM