ESLint 规则生成器
指南
探索
En
Star on GitHub
规则详情
简单描述一下需要的 ESLint 规则
"帐号" and "账户" are not allowed to be used, "账号" and "账户" are recommended instead.
给出代码示例
错误:
const id = '1234'; const rawText = '帐户'; const rawText1 = `帐户: ${id}`; const rawText2 = '帐号'; const rawText3 = `帐号: ${id}`;
正确:
const id = '1234'; const rawText = '账户'; const rawText1 = `账户: ${id}`; const rawText2 = '账号'; const rawText3 = `账号: ${id}`;
EslintGPT
复制
25