Style: use object destructuring (#7325)

* Style: use object destructuring

* Update versions.js

* Update sync-flow-tests.js

* Update core.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
This commit is contained in:
fisker CheungandGeorgii Dolzhykov authored and Georgii Dolzhykov committed 2020-01-14 17:30:18 +02:00
1 parent 493df07019
commit d456b158e0
40 files changed
+76 -96

No files matched your search

+1 -3
View File
@@ -4,9 +4,7 @@ const fs = require("fs");
const path = require("path");
const raw = require("jest-snapshot-serializer-raw").wrap;
const AST_COMPARE = process.env.AST_COMPARE;
const TEST_STANDALONE = process.env.TEST_STANDALONE;
const TEST_CRLF = process.env.TEST_CRLF;
const { AST_COMPARE, TEST_STANDALONE, TEST_CRLF } = process.env;
const CURSOR_PLACEHOLDER = "<|>";
const RANGE_START_PLACEHOLDER = "<<<PRETTIER_RANGE_START>>>";