summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js')
-rw-r--r--tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js b/tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js
index f96b248270..22e8c872ba 100644
--- a/tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js
+++ b/tools/node_modules/eslint/node_modules/@babel/types/lib/modifications/removeProperties.js
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = removeProperties;
var _constants = require("../constants");
-const CLEAR_KEYS = ["tokens",
-"start", "end", "loc",
-"raw", "rawValue"];
+const CLEAR_KEYS = ["tokens", "start", "end", "loc", "raw", "rawValue"];
const CLEAR_KEYS_PLUS_COMMENTS = [..._constants.COMMENT_KEYS, "comments", ...CLEAR_KEYS];
function removeProperties(node, opts = {}) {
const map = opts.preserveComments ? CLEAR_KEYS : CLEAR_KEYS_PLUS_COMMENTS;