Enable unicorn/prefer-number-properties (#9935)
This commit is contained in:
1 parent
6843b51113
commit
f0f18d3090
18 files changed
+35
-28
No files matched your search
@@ -74,7 +74,7 @@ function printDoc(doc) {
|
||||
}
|
||||
|
||||
if (doc.type === "align") {
|
||||
return doc.n === -Infinity
|
||||
return doc.n === Number.NEGATIVE_INFINITY
|
||||
? "dedentToRoot(" + printDoc(doc.contents) + ")"
|
||||
: doc.n < 0
|
||||
? "dedent(" + printDoc(doc.contents) + ")"
|
||||
|
||||
Reference in new issue
Block a user