Appearance
vue/eqeqeq
要求在
<template>
中使用===
和!==
- 🔧 command line 上的
--fix
选项可以自动修复此规则报告的一些问题。
此规则与核心 eqeqeq 规则相同,但适用于 <template>
中的表达式。
¥This rule is the same rule as core eqeqeq rule but it applies to the expressions in <template>
.
📚 扩展阅读
🚀版本
¥🚀 Version
此规则在 eslint-plugin-vue v5.2.0 中引入
¥This rule was introduced in eslint-plugin-vue v5.2.0
🔍代码实现
¥🔍 Implementation
使用 ❤️ 来自 ESLint 核心
¥Taken with ❤️ from ESLint core