ESLint Rule Generator
Guide
Explore
中
Star on GitHub
Help you generate a custom eslint rule
Give a brief description of your eslint rule
"帐号" and "账户" are not allowed to be used, "账号" and "账户" are recommended instead.
Provide a code example
incorrect:
const id = '1234'; const rawText = '帐户'; const rawText1 = `帐户: ${id}`; const rawText2 = '帐号'; const rawText3 = `帐号: ${id}`;
correct:
const id = '1234'; const rawText = '账户'; const rawText1 = `账户: ${id}`; const rawText2 = '账号'; const rawText3 = `账号: ${id}`;
Generate →
Do not upload too private content, details check
《Privacy Statement》