如何在VSCode中避免这种格式化?
if (
/^(?=.*[a-z])[A-Za-z\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{6,12}$/.test(
value
)
) {
numberCondition++;
}
到
if (/^(?=.*[a-z])[A-Za-z\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{6,12}$/.test(value)) {
numberCondition++;
}