JS.VUE.NO.CONSTANT.CONDITION

Disallow constant expressions in conditions

This rule is the same rule as core no-constant-condition rule but it applies to the expressions in <template>.

Further Reading

  • https://eslint.org/docs/rules/no-constant-condition

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/