外觀
強制要求使用 Unicode 跳脫字元 而非 十六進位跳脫字元,以保持一致性和清晰度。
此規則的錯誤程式碼範例
const foo = "\x1B"; const foo = `\x1B${bar}`;
此規則的正確程式碼範例
const foo = "\u001B"; const foo = `\u001B${bar}`;