Enable logical-assignment-operators rule (#13529)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-09-29 10:40:13 +08:00
1 parent 4ed2d3c4bc
commit f3d1790533
12 files changed
+40 -23

No files matched your search

+1 -3
View File
@@ -18,9 +18,7 @@ function getPrettierInternal() {
let promise;
function getPrettier() {
if (!promise) {
promise = getPrettierInternal();
}
promise = promise ?? getPrettierInternal();
return promise;
}